Class: GenerateBuffer::FindMethod
- Inherits:
-
Object
- Object
- GenerateBuffer::FindMethod
- Includes:
- Callable
- Defined in:
- app/services/generate_buffer.rb
Instance Method Summary collapse
Methods included from Callable
Instance Method Details
#call ⇒ Object
90 91 92 93 94 95 |
# File 'app/services/generate_buffer.rb', line 90 def call source.ast .each_node .map { |n| n if n.type == :send && n.method_name == meth_name } .compact end |