diff options
| -rw-r--r-- | tools/mirb/mirb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/mirb/mirb.c b/tools/mirb/mirb.c index c20c788e4..bd03a6534 100644 --- a/tools/mirb/mirb.c +++ b/tools/mirb/mirb.c @@ -261,6 +261,9 @@ main(void) else { /* no */ printf(" => "); + if (!mrb_respond_to(mrb,result,mrb_intern(mrb,"inspect"))){ + result = mrb_any_to_s(mrb,result); + } p(mrb, result); } } |
