class Cachy::Wrapper

Public Class Methods

new(wrapped) click to toggle source
# File lib/cachy/wrapper.rb, line 2
def initialize(wrapped)
  @wrapped = wrapped
end

Public Instance Methods

method_missing(name, args) click to toggle source
# File lib/cachy/wrapper.rb, line 10
def method_missing(name, args)
  @wrapped.send(name, *args)
end
read(key) click to toggle source
# File lib/cachy/wrapper.rb, line 6
def read(key)
  @wrapped[key]
end
respond_to?(x) click to toggle source
Calls superclass method
# File lib/cachy/wrapper.rb, line 14
def respond_to?(x)
  super(x) || @wrapped.respond_to?(x)
end