Class: SmoothChange::Current
- Inherits:
-
ActiveSupport::CurrentAttributes
- Object
- ActiveSupport::CurrentAttributes
- SmoothChange::Current
- Defined in:
- lib/smooth_change/current.rb
Overview
Thread safe Rails request store
Instance Method Summary collapse
-
#smooth_change ⇒ Object
override with default value.
Instance Method Details
#smooth_change ⇒ Object
override with default value
11 12 13 14 |
# File 'lib/smooth_change/current.rb', line 11 def smooth_change self.smooth_change = SmoothChange::ClientFeatureToggler.new unless attributes[:smooth_change] attributes[:smooth_change] end |