method

hash_digest_class=

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: KeyGenerator
hash_digest_class=(klass) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/key_generator.rb, line 15
      def hash_digest_class=(klass)
        if klass.kind_of?(Class) && klass < OpenSSL::Digest
          @hash_digest_class = klass
        else
          raise ArgumentError, "#{klass} is expected to be an OpenSSL::Digest subclass"
        end
      end
Register or log in to add new notes.