Class: Rextra::Enumerable::Do

Inherits:
Base show all
Defined in:
lib/rextra/cutting.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Rextra::Enumerable::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(sym, *args) ⇒ Object



48
49
50
51
# File 'lib/rextra/cutting.rb', line 48

def method_missing( sym, *args )
  @master.map! do |e| e.send sym, *args end
  self
end

Instance Method Details

#endObject



52
# File 'lib/rextra/cutting.rb', line 52

def end() @master end