Sha256: cc3d416fc76d9a676484ac857a62a68f3dc45b44dd5a747749d0208503a90117

Contents?: true

Size: 285 Bytes

Versions: 2

Compression:

Stored size: 285 Bytes

Contents

require 'hiccup/enumerable/schedule_enumerator'

module Hiccup
  module Enumerable
    class MonthlyDateEnumerator < MonthlyEnumerator
    protected

      def occurrences_in_month(year, month)
        monthly_pattern.map(&method(:coerce_day_to_positive))
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hiccup-0.5.19 lib/hiccup/enumerable/monthly_date_enumerator.rb
hiccup-0.5.18 lib/hiccup/enumerable/monthly_date_enumerator.rb