aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/digest.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib/active_support/digest.rb')
-rw-r--r--activesupport/lib/active_support/digest.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/digest.rb b/activesupport/lib/active_support/digest.rb
index 4dac32d420..d77eeb072b 100644
--- a/activesupport/lib/active_support/digest.rb
+++ b/activesupport/lib/active_support/digest.rb
@@ -4,7 +4,7 @@ module ActiveSupport
class Digest #:nodoc:
class <<self
def hash_digest_class
- @hash_digest_class || ::Digest::MD5
+ @hash_digest_class ||= ::Digest::MD5
end
def hash_digest_class=(klass)