Sha256: 82da050327196b3a1bc805da52277670d75fe5874674721ddcd169d440f55fa4

Contents?: true

Size: 172 Bytes

Versions: 12

Compression:

Stored size: 172 Bytes

Contents

module Montrose
  class Frequency
    class Daily < Frequency
      def include?(time)
        matches_interval? time.to_date - @starts.to_date
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
montrose-0.6.0 lib/montrose/frequency/daily.rb
montrose-0.5.0 lib/montrose/frequency/daily.rb
montrose-0.4.3 lib/montrose/frequency/daily.rb
montrose-0.4.2 lib/montrose/frequency/daily.rb
montrose-0.4.1 lib/montrose/frequency/daily.rb
montrose-0.4.0 lib/montrose/frequency/daily.rb
montrose-0.3.0 lib/montrose/frequency/daily.rb
montrose-0.2.2 lib/montrose/frequency/daily.rb
montrose-0.2.1 lib/montrose/frequency/daily.rb
montrose-0.2.0 lib/montrose/frequency/daily.rb
montrose-0.1.1 lib/montrose/frequency/daily.rb
montrose-0.1.0 lib/montrose/frequency/daily.rb