Actions
Feature #7414
closedNow that const_get supports "Foo::Bar" syntax, so should const_defined?.
Feature #7414:
Now that const_get supports "Foo::Bar" syntax, so should const_defined?.
Description
class Foo
end
Object.const_get "Object::Foo" => Foo
Object.const_defined? "Object::Foo" => NameError (expected true).
Actions