Class: Yoda::Store::Query::FindMethod
- Inherits:
-
Base
- Object
- Base
- Yoda::Store::Query::FindMethod
show all
- Defined in:
- lib/yoda/store/query/find_method.rb
Instance Attribute Summary
Attributes inherited from Base
#registry
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#all(namespace, visibility: nil) ⇒ Enumerator<Objects::MethodObject>
24
25
26
|
# File 'lib/yoda/store/query/find_method.rb', line 24
def all(namespace, visibility: nil)
lazy_select(namespace, //, visibility: visibility)
end
|
#find(namespace, method_name, visibility: nil) ⇒ Objects::MethodObject?
9
10
11
|
# File 'lib/yoda/store/query/find_method.rb', line 9
def find(namespace, method_name, visibility: nil)
lazy_select(namespace, method_name, visibility: visibility).first
end
|
#select(namespace, method_name, visibility: nil) ⇒ Array<Objects::MethodObject>
17
18
19
|
# File 'lib/yoda/store/query/find_method.rb', line 17
def select(namespace, method_name, visibility: nil)
lazy_select(namespace, method_name, visibility: visibility).to_a
end
|