Class: FindMethodInPath::FindMethod
- Inherits:
-
Object
- Object
- FindMethodInPath::FindMethod
- Includes:
- Callable
- Defined in:
- app/services/find_method_in_path.rb
Instance Method Summary collapse
Methods included from Callable
Instance Method Details
#call ⇒ Object
40 41 42 43 44 45 46 47 |
# File 'app/services/find_method_in_path.rb', line 40 def call binding.pry source.ast .each_node .map { |n| n if n.type == type && n.method_name == name } .compact end |