class Rcb::StateStore::InMemory
Public Class Methods
clear()
click to toggle source
# File lib/rcb/state_store.rb, line 17 def self.clear @states = {} end
get(tag)
click to toggle source
# File lib/rcb/state_store.rb, line 9 def self.get(tag) @states[tag.to_sym] end
update(tag, state)
click to toggle source
# File lib/rcb/state_store.rb, line 13 def self.update(tag, state) @states[tag] = state end