Module: RestGraph::RailsCache

Defined in:
lib/rest-graph/rails_util.rb

Instance Method Summary collapse

Instance Method Details

#[](key) ⇒ Object



40
# File 'lib/rest-graph/rails_util.rb', line 40

def []    key       ;  read(key)                ; end

#[]=(key, value) ⇒ Object



41
# File 'lib/rest-graph/rails_util.rb', line 41

def []=   key, value; write(key, value)         ; end

#store(key, value, options = {}) ⇒ Object



42
43
# File 'lib/rest-graph/rails_util.rb', line 42

def store key, value,
options={}; write(key, value, options); end