instance method
keys
Ruby on Rails edge
Since edgeSignature
keys()
Returns an array of symbolized keys from the decrypted configuration.
my_config = ActiveSupport::EncryptedConfiguration.new(...)
my_config.read # => "some_secret: 123\nsome_namespace:\n another_secret: 456"
my_config.keys
# => [:some_secret, :some_namespace]
Source
# File activesupport/lib/active_support/encrypted_configuration.rb, line 171
def keys
config.keys
end
Defined in activesupport/lib/active_support/encrypted_configuration.rb line 171
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::EncryptedConfiguration