Module: Workling::Return::Store

Defined in:
lib/workling/return/store/base.rb,
lib/workling/return/store/iterator.rb,
lib/workling/return/store/memory_return_store.rb,
lib/workling/return/store/starling_return_store.rb

Defined Under Namespace

Classes: Base, Iterator, MemoryReturnStore, StarlingReturnStore

Class Method Summary collapse

Class Method Details

.get(key) ⇒ Object

get a value from the store. this should be destructive. delegates to the returnstore.



16
17
18
# File 'lib/workling/return/store/base.rb', line 16

def self.get(key)
  self.instance.get(key)
end

.set(key, value) ⇒ Object

set a value in the store with the given key. delegates to the returnstore.



11
12
13
# File 'lib/workling/return/store/base.rb', line 11

def self.set(key, value)
  self.instance.set(key, value)
end