Method: Origami::CompoundObject#delete

Defined in:
lib/origami/compound.rb

#delete(item) ⇒ Object

Removes the item from the compound object if present.



109
110
111
112
# File 'lib/origami/compound.rb', line 109

def delete(item)
    obj = super(item.to_o)
    unlink_object(obj) unless obj.nil?
end