Sha256: 8819a48885d4c999d4d82aa1cf31fc699874186a27a3e9a1c83e654656ff1ef6
Contents?: true
Size: 592 Bytes
Versions: 3
Compression:
Stored size: 592 Bytes
Contents
# frozen_string_literal: true require 'active_support/inflector' require 'active_support/core_ext/numeric/time' %w[day week month quarter half year].each { |f| require_relative "./calendar/#{f}" } %w[waypoints period parser].each { |f| require_relative "./calendar/#{f}" } require_relative './calendar/support/month_basis' module TimeBoss class Calendar include Waypoints delegate :parse, to: :parser protected attr_reader :basis def initialize(basis:) @basis = basis end private def parser @_parser ||= Parser.new(self) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
timeboss-0.0.7 | lib/timeboss/calendar.rb |
timeboss-0.0.6 | lib/timeboss/calendar.rb |
timeboss-0.0.5 | lib/timeboss/calendar.rb |