Class: Functional::Each

Inherits:
Base show all
Defined in:
lib/functional.rb

Direct Known Subclasses

P

Instance Attribute Summary

Attributes inherited from Base

#caller, #exe, #next

Instance Method Summary collapse

Methods inherited from Base

#base_fun, #initialize, #to_proc

Constructor Details

This class inherits a constructor from Functional::Base

Instance Method Details

#each_fun(*a) ⇒ Object Also known as: call



165
166
167
# File 'lib/functional.rb', line 165

def each_fun *a
  @exe.call *a
end

#endObject Also known as: clean



170
171
172
# File 'lib/functional.rb', line 170

def end
  nil
end