Class: SimpleCalendar::MonthCalendar
- Defined in:
- lib/simple_calendar/month_calendar.rb
Constant Summary
Constants inherited from Calendar
Instance Attribute Summary
Attributes inherited from Calendar
Instance Method Summary collapse
Methods inherited from Calendar
#initialize, #render, #td_classes_for, #tr_classes_for, #url_for_next_view, #url_for_previous_view
Constructor Details
This class inherits a constructor from SimpleCalendar::Calendar
Instance Method Details
#date_range ⇒ Object
3 4 5 |
# File 'lib/simple_calendar/month_calendar.rb', line 3 def date_range (start_date.beginning_of_month.beginning_of_week..start_date.end_of_month.end_of_week).to_a end |