class SmoothChange::Current

Thread safe Rails request store

Public Instance Methods

smooth_change() click to toggle source

override with default value

# 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