class Time

Public Instance Methods

add_days(n) click to toggle source
# File lib/wheres_my_weekend.rb, line 30
def add_days(n)
  self + n.days
end
sub_days(n) click to toggle source
# File lib/wheres_my_weekend.rb, line 34
def sub_days(n)
  self - n.days
end