Class: Time
Instance Method Summary collapse
Methods included from WeekendCheck
Instance Method Details
#add_days(n) ⇒ Object
30 31 32 |
# File 'lib/wheres_my_weekend.rb', line 30 def add_days(n) self + n.days end |
#sub_days(n) ⇒ Object
34 35 36 |
# File 'lib/wheres_my_weekend.rb', line 34 def sub_days(n) self - n.days end |