Class: FindMethodInPath::AddMethod

Inherits:
Object
  • Object
show all
Includes:
Callable
Defined in:
app/services/find_method_in_path.rb

Instance Method Summary collapse

Methods included from Callable

#initialize

Instance Method Details

#callObject



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