Sha256: b74c92ba296d84a6026f9b76ae9b3986eac1805fd2ed6e47466d56c408b41480

Contents?: true

Size: 315 Bytes

Versions: 8

Compression:

Stored size: 315 Bytes

Contents

module Kosher
  module Threshold
    def self.included(klass)
      klass.extend(ClassMethods)
    end

    def threshold
      self.class.threshold
    end

    module ClassMethods
      def threshold
        @threshold
      end

      def threshold=(value)
        @threshold = value
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
kosher-0.2.24 lib/kosher/threshold.rb
kosher-0.2.23 lib/kosher/threshold.rb
kosher-0.2.22 lib/kosher/threshold.rb
kosher-0.2.21 lib/kosher/threshold.rb
kosher-0.2.20 lib/kosher/threshold.rb
kosher-0.2.19 lib/kosher/threshold.rb
kosher-0.2.18 lib/kosher/threshold.rb
kosher-0.2.17 lib/kosher/threshold.rb