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