Module: WeekendCheck
Overview
rubocop:disable Style/Documentation
Instance Method Summary collapse
Instance Method Details
#next_weekend ⇒ Object
12 13 14 |
# File 'lib/wheres_my_weekend.rb', line 12 def next_weekend [next_saturday, next_saturday.add_days(1)] end |
#weekend? ⇒ Boolean
8 9 10 |
# File 'lib/wheres_my_weekend.rb', line 8 def weekend? saturday? || sunday? end |