Method: Cript::EHash#method_missing

Defined in:
lib/cript/ehash.rb

#method_missing(sym, *args, &block) ⇒ Object



30
31
32
33
34
35
36
# File 'lib/cript/ehash.rb', line 30

def method_missing(sym, *args, &block)
  super if !METHODS.include?(sym) || block_given?

  @store.transaction do
    @store[KEY].send(sym, *args)
  end
end