Class: Marlin::Actions::DeleteKey
- Inherits:
-
Marlin::Action
- Object
- Marlin::Action
- Marlin::Actions::DeleteKey
- Defined in:
- lib/marlin/actions/delete_key.rb
Instance Method Summary collapse
Methods inherited from Marlin::Action
Constructor Details
This class inherits a constructor from Marlin::Action
Instance Method Details
#call ⇒ Object
4 5 6 7 8 |
# File 'lib/marlin/actions/delete_key.rb', line 4 def call @persister.read(@key).tap do @persister.delete(@key) end end |