Class: Waterfall::WhenFalsy

Inherits:
WhenTruthy show all
Defined in:
lib/waterfall/predicates/when_falsy.rb

Instance Method Summary collapse

Methods inherited from WhenTruthy

#call, #dam, #initialize

Methods inherited from Base

#waterfall?, #yield_args

Constructor Details

This class inherits a constructor from Waterfall::WhenTruthy

Instance Method Details

#condition?Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/waterfall/predicates/when_falsy.rb', line 6

def condition?
  ! super
end