Class: DateTime
- Inherits:
-
Object
- Object
- DateTime
- Includes:
- WeekendCheck
- Defined in:
- lib/wheres_my_weekend.rb
Instance Method Summary collapse
Methods included from WeekendCheck
Instance Method Details
#add_days(n) ⇒ Object
42 43 44 |
# File 'lib/wheres_my_weekend.rb', line 42 def add_days(n) self + n end |
#sub_days(n) ⇒ Object
46 47 48 |
# File 'lib/wheres_my_weekend.rb', line 46 def sub_days(n) self - n end |