Class: Ick::IdentityWrapper

Inherits:
Wrapper
  • Object
show all
Defined in:
lib/ick/wrap.rb

Direct Known Subclasses

GuardWrapper

Instance Method Summary collapse

Methods inherited from Wrapper

#__invocation__, #__respond_to?, #__rewrap__, #__value__, #initialize, is_contagious, is_not_contagious, #method_missing, #respond_to?

Constructor Details

This class inherits a constructor from Ick::Wrapper

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Ick::Wrapper

Instance Method Details

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



49
50
51
# File 'lib/ick/wrap.rb', line 49

def __invoke__(sym, *args, &block)
  @value.__send__(sym, *args, &block)
end