Class: Rcb::StateStore::InMemory
- Inherits:
-
Object
- Object
- Rcb::StateStore::InMemory
- Defined in:
- lib/rcb/state_store.rb
Class Method Summary collapse
Class Method Details
.clear ⇒ Object
17 18 19 |
# File 'lib/rcb/state_store.rb', line 17 def self.clear @states = {} end |
.get(tag) ⇒ Object
9 10 11 |
# File 'lib/rcb/state_store.rb', line 9 def self.get(tag) @states[tag.to_sym] end |
.update(tag, state) ⇒ Object
13 14 15 |
# File 'lib/rcb/state_store.rb', line 13 def self.update(tag, state) @states[tag] = state end |