class Time

Public Instance Methods

minus(time_str) click to toggle source

@param [String] time_str time string to be subtracted

# File lib/time/elapsed.rb, line 9
def minus(time_str)
  self - Elapsed.time(time_str)
end
plus(time_str) click to toggle source

@param [String] time_str time string to be added

# File lib/time/elapsed.rb, line 5
def plus(time_str)
  self + Elapsed.time(time_str)
end