Class: Functional::Filter
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
- #filter_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
#filter_fun(*a) ⇒ Object Also known as: call
107 108 109 |
# File 'lib/functional.rb', line 107 def filter_fun *a @next.call *a unless @exe.call *a end |