Skip to content

Commit

Permalink
display BasicObject information in mirb
Browse files Browse the repository at this point in the history
  • Loading branch information
takkaw committed Mar 15, 2013
1 parent 5aafbca commit 839d801
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/mirb/mirb.c
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 839d801

Please sign in to comment.