instance method keys

Ruby on Rails edge

Since edge

Signature

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

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close