From 82af182e740bcb2a3aa1d9b2b62412f8ab28a8b1 Mon Sep 17 00:00:00 2001 From: tenderlove Date: Fri, 26 Oct 2012 21:31:23 +0000 Subject: * 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 --- NEWS | 2 ++ 1 file changed, 2 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 0e4508e27d..967196dcd8 100644 --- a/NEWS +++ b/NEWS @@ -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: -- cgit v1.2.3