Class: UpdateCode::AddMethod

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

Instance Method Summary collapse

Methods included from Callable

#initialize

Instance Method Details

#callObject



73
74
75
# File 'app/services/update_code.rb', line 73

def call
  code.insert(pos, "def code \n inserted.here! \n end")
end