Class: Waterfall::Base
- Inherits:
-
Object
- Object
- Waterfall::Base
- Defined in:
- lib/waterfall/predicates/base.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#waterfall?(obj) ⇒ Boolean
4 5 6 |
# File 'lib/waterfall/predicates/base.rb', line 4 def waterfall?(obj) obj.respond_to?(:is_waterfall?) && obj.is_waterfall? end |
#yield_args ⇒ Object
8 9 10 |
# File 'lib/waterfall/predicates/base.rb', line 8 def yield_args [@root.outflow, @root] end |