Sha256: d3969287d691187afe9b8cde16559d28338f5cf9827a725867e465283f483869

Contents?: true

Size: 316 Bytes

Versions: 6

Compression:

Stored size: 316 Bytes

Contents

module TimeBoss
  class Calendar
    module Support
      class MonthBasis
        attr_reader :year, :month

        def initialize(year, month)
          @year = year
          @month = month
        end

        def to_range
          @_to_range ||= start_date .. end_date
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
timeboss-0.0.10 lib/timeboss/calendar/support/month_basis.rb
timeboss-0.0.9 lib/timeboss/calendar/support/month_basis.rb
timeboss-0.0.8 lib/timeboss/calendar/support/month_basis.rb
timeboss-0.0.7 lib/timeboss/calendar/support/month_basis.rb
timeboss-0.0.6 lib/timeboss/calendar/support/month_basis.rb
timeboss-0.0.5 lib/timeboss/calendar/support/month_basis.rb