Method: FlashFlow::Data::Collection#mark_success
- Defined in:
- lib/flash_flow/data/collection.rb
#mark_success(branch) ⇒ Object
158 159 160 161 162 163 |
# File 'lib/flash_flow/data/collection.rb', line 158 def mark_success(branch) update_or_add(branch) branch.success! @collection_instance.mark_success(branch) if @collection_instance.respond_to?(:mark_success) branch end |