Sha256: 8695adfa7fbc3ec090868865e2313505c2f77e2457678805c0cde2deb74457c0
Contents?: true
Size: 324 Bytes
Versions: 2
Compression:
Stored size: 324 Bytes
Contents
module FeatureGate class << self attr_accessor :configuration end def self.setup self.configuration ||= Configuration.new yield(configuration) end class Configuration attr_accessor :time_to_stale def initialize @time_to_stale = 1.month end end end require 'feature_gate/engine'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
feature_gate-0.2.5 | lib/feature_gate.rb |
feature_gate-0.2.4 | lib/feature_gate.rb |