lib/timeboss/calendar.rb in timeboss-0.2.1 vs lib/timeboss/calendar.rb in timeboss-0.2.2
- old
+ new
@@ -30,11 +30,15 @@
# @return [String]
def title
name.titleize
end
+ # Can this calendar support weeks?
+ # For custom calendars, this value can generally not be overridden.
+ # But for calendars like our Gregorian implementation, weeks are irrelevant, and should be suppressed.
+ # @return [Boolean]
def supports_weeks?
- false
+ true
end
protected
attr_reader :basis