diff options
author | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-26 21:31:23 +0000 |
---|---|---|
committer | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-26 21:31:23 +0000 |
commit | 82af182e740bcb2a3aa1d9b2b62412f8ab28a8b1 (patch) | |
tree | e5d30034648aaa2aafedd671029c8e19834872fb /NEWS | |
parent | 8ee4f0ad80720d38022b81b1cead87fe4c08f006 (diff) |
* object.c (rb_mod_const_get): const_get accepts qualified constant
strings. e.g. Object.const_get("Foo::Bar::Baz") [ruby-core:41404]
* test/ruby/test_module.rb: tests for new behavior
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -66,6 +66,8 @@ with all sufficient information, see the ChangeLog file. corresponding method in the prepending module. * extended method: * Module#define_method accepts a UnboundMethod from a Module. + * Module#const_get accepts a qualified constant string, e.g. + Object.const_get("Foo::Bar::Baz") * NilClass * added method: |