lib/timeboss/calendar/waypoints/absolute.rb in timeboss-0.1.0 vs lib/timeboss/calendar/waypoints/absolute.rb in timeboss-0.1.1
- old
+ new
@@ -1,9 +1,8 @@
# frozen_string_literal: true
module TimeBoss
class Calendar
module Waypoints
- # Provides implementation for absolute periods within a calendar.
module Absolute
%i[month quarter half year].each do |type|
klass = TimeBoss::Calendar.const_get(type.to_s.classify)
size = klass.const_get("NUM_MONTHS")