Sha256: c69f4db33b0c805583453b589005846d09a6f8bf41ec158a967bf30e9526206d
Contents?: true
Size: 218 Bytes
Versions: 2
Compression:
Stored size: 218 Bytes
Contents
class BusinessWeekCalendar < SimpleCalendar::Calendar private def date_range beginning = start_date.beginning_of_week + 1.day ending = start_date.end_of_week - 1.day (beginning..ending).to_a end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
simple_calendar-3.0.2 | test/dummy/app/calendars/business_week_calendar.rb |
simple_calendar-3.0.1 | test/dummy/app/calendars/business_week_calendar.rb |