Method: ActiveSupport::SecureCompareRotator#initialize

Defined in:
activesupport/lib/active_support/secure_compare_rotator.rb

#initialize(value, on_rotation: nil) ⇒ SecureCompareRotator

Returns a new instance of SecureCompareRotator.



37
38
39
40
41
# File 'activesupport/lib/active_support/secure_compare_rotator.rb', line 37

def initialize(value, on_rotation: nil)
  @value = value
  @rotate_values = []
  @on_rotation = on_rotation
end