Method: FlashFlow::Data::Collection#mark_deleted

Defined in:
lib/flash_flow/data/collection.rb

#mark_deleted(branch) ⇒ Object



151
152
153
154
155
156
# File 'lib/flash_flow/data/collection.rb', line 151

def mark_deleted(branch)
  update_or_add(branch)
  branch.deleted!
  @collection_instance.mark_deleted(branch) if @collection_instance.respond_to?(:mark_deleted)
  branch
end