Sha256: 2ec98288c9c56f5f4f127b630f71ddde0ad44bfabc7c7cdb04e1c8be770aad28
Contents?: true
Size: 290 Bytes
Versions: 3
Compression:
Stored size: 290 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)).uniq end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hiccup-0.6.1 | lib/hiccup/enumerable/monthly_date_enumerator.rb |
hiccup-0.6.0 | lib/hiccup/enumerable/monthly_date_enumerator.rb |
hiccup-0.5.20 | lib/hiccup/enumerable/monthly_date_enumerator.rb |