Class: Functional::Tap
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
- #tap_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
#tap_fun(*a) ⇒ Object Also known as: call
92 93 94 95 |
# File 'lib/functional.rb', line 92 def tap_fun *a @exe.call *a @next.call *a end |