Sha256: 700edab9c1f33ee53dd670e122ef350cb1741c3613aa862702b00e80b6298c88

Contents?: true

Size: 158 Bytes

Versions: 5

Compression:

Stored size: 158 Bytes

Contents

module Kosher
  class Availability < Struct.new(:hours)
    include Threshold

    THRESHOLD = 48

    def kosher?
      hours <= threshold
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
kosher-0.2.16 lib/kosher/availability.rb
kosher-0.2.15 lib/kosher/availability.rb
kosher-0.2.14 lib/kosher/availability.rb
kosher-0.2.13 lib/kosher/availability.rb
kosher-0.2.12 lib/kosher/availability.rb