Exception: Dotenv::MissingKeys

Inherits:
Error
  • Object
show all
Defined in:
lib/dotenv/missing_keys.rb

Overview

:nodoc:

Instance Method Summary collapse

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