aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2014-12-10 08:23:15 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2014-12-10 08:23:15 +0900
commit628580c032a0c62ff2e63a7fe0ddecf9094930f5 (patch)
tree478fb09c460ffac30355df02d31a981b9d5e5240
parent6b1cd5a10e4ae3fb048d8e6bf45549a7b2055c71 (diff)
downloadrails-628580c032a0c62ff2e63a7fe0ddecf9094930f5.tar.gz
rails-628580c032a0c62ff2e63a7fe0ddecf9094930f5.tar.bz2
rails-628580c032a0c62ff2e63a7fe0ddecf9094930f5.zip
[ci skip] fix typo in MessageVerifier#verify docs
-rw-r--r--activesupport/lib/active_support/message_verifier.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/message_verifier.rb b/activesupport/lib/active_support/message_verifier.rb
index d16c1c629b..eee9bbaead 100644
--- a/activesupport/lib/active_support/message_verifier.rb
+++ b/activesupport/lib/active_support/message_verifier.rb
@@ -94,7 +94,7 @@ module ActiveSupport
# secret or was not Base64-encoded.
#
# other_verifier = ActiveSupport::MessageVerifier.new 'd1ff3r3nt-s3Krit'
- # other_verifier.verified(signed_message) # => ActiveSupport::MessageVerifier::InvalidSignature
+ # other_verifier.verify(signed_message) # => ActiveSupport::MessageVerifier::InvalidSignature
def verify(signed_message)
verified(signed_message) || raise(InvalidSignature)
end