Class: Functional::Flatten
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
- #flatten_fun(*a) ⇒ Object (also: #call)
Methods inherited from Base
#base_fun, #clean, #end, #initialize, #to_proc
Constructor Details
This class inherits a constructor from Functional::Base
Instance Method Details
#flatten_fun(*a) ⇒ Object Also known as: call
211 212 213 |
# File 'lib/functional.rb', line 211 def flatten_fun *a a.each &@next.method( :call) end |