Sha256: cad2370fcc06f94fe0092deb4623ede48f97e8a75490c6fb59ea2186a32b134c

Contents?: true

Size: 173 Bytes

Versions: 12

Compression:

Stored size: 173 Bytes

Contents

module Montrose
  class Frequency
    class Minutely < Frequency
      def include?(time)
        matches_interval?((time - @starts) / 1.minute)
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

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