diff options
author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-02 08:53:06 +0000 |
---|---|---|
committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-02 08:53:06 +0000 |
commit | b14e2b4401db4746cc45ae9e4ce6350f7594f84f (patch) | |
tree | 3726d4898740647bb09ada304ce5f5693664b7cb /range.c | |
parent | a8b3d67e7c78d6be55e030159db5d611d8b5a247 (diff) | |
download | ruby-b14e2b4401db4746cc45ae9e4ce6350f7594f84f.tar.gz |
* object.c (rb_mod_to_s): Module#{to_s,inspect}, when invoked on
a refinement, returns a string in the format #<refinement:C@M>,
where C is a refined class and M is a module at which the refinemet
is defined.
* eval.c (rb_mod_refine): store information on a refinement for the
above change.
* test/ruby/test_refinement.rb: related test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'range.c')
0 files changed, 0 insertions, 0 deletions