Method: Cathode::ObjectCollection#delete
- Defined in:
- lib/cathode/object_collection.rb
#delete(name) ⇒ ObjectCollection
Delets an object from the collection by name.
38 39 40 41 |
# File 'lib/cathode/object_collection.rb', line 38 def delete(name) objects.delete find(name) self end |