lib/feature_gate.rb in feature_gate-0.1.3 vs lib/feature_gate.rb in feature_gate-0.1.4
- old
+ new
@@ -1,6 +1,10 @@
module FeatureGate
- # Yield self on setup for nice config blocks
+ class << self
+ mattr_accessor :time_to_stale
+ self.time_to_stale = 1.month
+ end
+
def self.setup
yield self
end
end