Class: Functional::Map

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

Instance Attribute Summary

Attributes inherited from Base

#caller, #exe, #next

Instance Method Summary collapse

Methods inherited from Collect

#collect_fun

Methods inherited from Base

#base_fun, #clean, #end, #initialize, #to_proc

Constructor Details

This class inherits a constructor from Functional::Base

Instance Method Details

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



204
205
206
# File 'lib/functional.rb', line 204

def map_fun *a
	@exe.call *a, &@next
end