Module: OpenBEL::Cache::Cache
- Defined in:
- lib/openbel/api/cache/cache.rb
Instance Method Summary collapse
Instance Method Details
#[](key) ⇒ Object
4 5 6 |
# File 'lib/openbel/api/cache/cache.rb', line 4 def [](key) read(key) end |
#[]=(key, value) ⇒ Object
8 9 10 |
# File 'lib/openbel/api/cache/cache.rb', line 8 def []=(key, value) write(key, value) end |
#clear ⇒ Object
12 13 14 |
# File 'lib/openbel/api/cache/cache.rb', line 12 def clear purge end |