method
secure_compare!
v6.1.7.7 -
Show latest stable
- Class:
ActiveSupport::SecureCompareRotator
secure_compare!(other_value, on_rotation: @on_rotation)public
No documentation available.
# File activesupport/lib/active_support/secure_compare_rotator.rb, line 40
def secure_compare!(other_value, on_rotation: @on_rotation)
secure_compare(@value, other_value) ||
run_rotations(on_rotation) { |wrapper| wrapper.secure_compare!(other_value) } ||
raise(InvalidMatch)
end