Class: Waterfall::OnDam
Instance Method Summary collapse
- #call {|@root.error_pool, @root.outflow, @root| ... } ⇒ Object
-
#initialize(root) ⇒ OnDam
constructor
A new instance of OnDam.
Methods inherited from Base
Constructor Details
Instance Method Details
#call {|@root.error_pool, @root.outflow, @root| ... } ⇒ Object
8 9 10 11 |
# File 'lib/waterfall/predicates/on_dam.rb', line 8 def call return unless @root.dammed? yield @root.error_pool, @root.outflow, @root end |