Class: Yoda::Store::Query::FindMetaClass
- Defined in:
- lib/yoda/store/query/find_meta_class.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Yoda::Store::Query::Base
Instance Method Details
#find(path) ⇒ Objects::NamespaceObject?
7 8 9 10 11 12 13 14 |
# File 'lib/yoda/store/query/find_meta_class.rb', line 7 def find(path) constant = FindConstant.new(registry).find(path) if constant && = registry.get(constant.) else nil end end |