Class: FindMethodInPath::AddMethod
- Inherits:
-
Object
- Object
- FindMethodInPath::AddMethod
- Includes:
- Callable
- Defined in:
- app/services/find_method_in_path.rb
Instance Method Summary collapse
Methods included from Callable
Instance Method Details
#call ⇒ Object
54 55 56 |
# File 'app/services/find_method_in_path.rb', line 54 def call code.insert(pos, "def code \n inserted.here! \n end") end |