diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-21 20:17:27 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-21 20:17:27 +0000 |
commit | 03a877205e9a5df6e74bee49ea5c280b82a4493f (patch) | |
tree | 48808afb6ef57e0c9c0d0ea9503b6e5d7fd7c472 /ChangeLog | |
parent | dccfafbb3f47bb9e2f578409fc3d1585c25387ee (diff) | |
download | ruby-03a877205e9a5df6e74bee49ea5c280b82a4493f.tar.gz ruby-03a877205e9a5df6e74bee49ea5c280b82a4493f.tar.xz ruby-03a877205e9a5df6e74bee49ea5c280b82a4493f.zip |
* object.c (rb_obj_inspect): print instance variables only when
Object#to_s is not overridden. [ruby-core:24425]
* class.c (rb_obj_basic_to_s_p): new function.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,10 @@ +Thu Oct 22 04:54:41 2009 Yukihiro Matsumoto <matz@ruby-lang.org> + + * object.c (rb_obj_inspect): print instance variables only when + Object#to_s is not overridden. [ruby-core:24425] + + * class.c (rb_obj_basic_to_s_p): new function. + Wed Oct 21 19:32:52 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> * object.c (rb_obj_inspect): fixed rdoc about the case that to_s |