Skip to content

Commit

Permalink
Merge pull request #1014 from takkaw/display_bo_info_in_mirb
Browse files Browse the repository at this point in the history
display BasicObject information in mirb
  • Loading branch information
matz committed Mar 16, 2013
2 parents 26926a1 + 839d801 commit 2e937a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/mirb/mirb.c
Original file line number Diff line number Diff line change
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 2e937a5

Please sign in to comment.