lib/timeboss/calendar/period.rb in timeboss-1.1.4 vs lib/timeboss/calendar/period.rb in timeboss-1.1.5
- old
+ new
@@ -1,9 +1,12 @@
# frozen_string_literal: true
+require_relative "./support/clampable"
+
module TimeBoss
class Calendar
class Period
+ include Calendar::Support::Clampable
attr_reader :begin, :end
# @!method start_date
# Get the start date of this period.
# @return [Date]