Class: Functional::DeleteIf

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

Instance Attribute Summary

Attributes inherited from Base

#exe, #next

Instance Method Summary collapse

Methods inherited from Base

#end, #initialize, #to_proc

Constructor Details

This class inherits a constructor from Functional::Base

Instance Method Details

#call(*a) ⇒ Object



66
67
68
# File 'lib/functional.rb', line 66

def call *a
  @next.call *a  unless @exe.call *a
end