Sha256: 14b95f678328458cd7c9b928025124c0f276725d0f57543ddb266693663db0da

Contents?: true

Size: 231 Bytes

Versions: 8

Compression:

Stored size: 231 Bytes

Contents

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

    def threshold
      self.class.threshold
    end

    module ClassMethods
      attr_accessor :threshold
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
kosher-0.8.0 lib/kosher/threshold.rb
kosher-0.7.0 lib/kosher/threshold.rb
kosher-0.6.2 lib/kosher/threshold.rb
kosher-0.6.1 lib/kosher/threshold.rb
kosher-0.6.0 lib/kosher/threshold.rb
kosher-0.5.0 lib/kosher/threshold.rb
kosher-0.4.0 lib/kosher/threshold.rb
kosher-0.3.0 lib/kosher/threshold.rb