Class: GOM::Storage::Remover
- Inherits:
-
Object
- Object
- GOM::Storage::Remover
- Defined in:
- lib/gom/storage/remover.rb
Overview
Removes an object from the storage.
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#object ⇒ Object
readonly
Returns the value of attribute object.
Instance Method Summary collapse
-
#initialize(object_or_id) ⇒ Remover
constructor
A new instance of Remover.
- #perform ⇒ Object
Constructor Details
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
6 7 8 |
# File 'lib/gom/storage/remover.rb', line 6 def id @id end |
#object ⇒ Object (readonly)
Returns the value of attribute object.
5 6 7 |
# File 'lib/gom/storage/remover.rb', line 5 def object @object end |
Instance Method Details
#perform ⇒ Object
14 15 16 17 18 |
# File 'lib/gom/storage/remover.rb', line 14 def perform check_mapping remove_object remove_mapping end |