Exception: Dotenv::MissingKeys
- Defined in:
- lib/dotenv/missing_keys.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(keys) ⇒ MissingKeys
constructor
A new instance of MissingKeys.
Constructor Details
#initialize(keys) ⇒ MissingKeys
Returns a new instance of MissingKeys.
5 6 7 8 |
# File 'lib/dotenv/missing_keys.rb', line 5 def initialize(keys) key_word = "key#{keys.size > 1 ? 's' : ''}" super("Missing required configuration #{key_word}: #{keys.inspect}") end |