Method: ActiveSupport::EncryptedConfiguration#validate!

Defined in:
lib/active_support/encrypted_configuration.rb

#validate!Object

:nodoc:

[View source]

69
70
71
72
73
74
75
# File 'lib/active_support/encrypted_configuration.rb', line 69

def validate! # :nodoc:
  deserialize(read).each_key do |key|
    key.to_sym
  rescue NoMethodError
    raise InvalidKeyError.new(content_path, key)
  end
end