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