Class: PrestoCache::Memory

Inherits:
Object
  • Object
show all
Includes:
API
Defined in:
lib/presto/cache/memory.rb

Defined Under Namespace

Classes: Store

Constant Summary

Constant Summary

Constants included from API

API::KEY, API::VAL

Instance Attribute Summary

Attributes included from API

#store

Instance Method Summary (collapse)

Methods included from API

#[], #[]=, #after, #before, #db, #dbs, #delete, #drop, #each_key, #each_pair, #each_value, #empty?, #filter, #first, #get, #initialize, #keys, #method_missing, #new, #set, #size, #truncate, #update, #values

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class PrestoCache::API

Instance Method Details

- (Object) initialize_store(*args)



6
7
8
# File 'lib/presto/cache/memory.rb', line 6

def initialize_store *args
  @store = Store.new
end