Method: TimePieces::TimeSet#-

Defined in:
lib/time_pieces/time_set.rb

#-(other_ts) ⇒ Object



54
55
56
57
58
59
60
61
62
# File 'lib/time_pieces/time_set.rb', line 54

def -(other_ts)
  ret_ts = TimeSet.new
  ret_ts.time_durations = Array.new(time_durations)
  other_ts.time_durations.each do |td|
    ret_ts >> td
  end
  return ret_ts
  
end