Method: Mclone::Volume::TaskSet#<<

Defined in:
lib/mclone.rb

#<<(task) ⇒ Object

Accept only the tasks referencing the volume as either source or destination



470
471
472
# File 'lib/mclone.rb', line 470

def <<(task)
  task.source_id == @volume.id || task.destination_id == @volume.id ? super : task
end