Issue #7414 has been updated by mame (Yusuke Endoh).

Status changed from Open to Assigned
Assignee set to tenderlovemaking (Aaron Patterson)

Aaron, can you fix it easily?

-- 
Yusuke Endoh <mame / tsg.ne.jp>
----------------------------------------
Feature #7414: Now that const_get supports "Foo::Bar" syntax, so should const_defined?.
https://bugs.ruby-lang.org/issues/7414#change-33750

Author: robertgleeson (Robert Gleeson)
Status: Assigned
Priority: Normal
Assignee: tenderlovemaking (Aaron Patterson)
Category: 
Target version: 2.0.0


class Foo
end
Object.const_get "Object::Foo" => Foo
Object.const_defined? "Object::Foo" => NameError (expected true).


-- 
http://bugs.ruby-lang.org/