Class: Ick::ArrayWrapper
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
57 58 59 |
# File 'lib/ick/wrap.rb', line 57 def __invoke__(sym, *args, &block) @value.map { |_| _.__send__(sym, *args, &block) } end |