Module: RubyCodeAPI::Manipulation::Delete
- Included in:
- RubyCodeAPI::Manipulation
- Defined in:
- lib/manipulation/delete/api.rb
Defined Under Namespace
Classes: DeleteError
Instance Method Summary collapse
Instance Method Details
#delete ⇒ Object
7 8 9 10 |
# File 'lib/manipulation/delete/api.rb', line 7 def delete # index = parent.find_index(self) parent.get_elements.delete(self) end |