missing_keys.rb 258 B

12345678910
  1. module Dotenv
  2. class Error < StandardError; end
  3. class MissingKeys < Error # :nodoc:
  4. def initialize(keys)
  5. key_word = "key#{(keys.size > 1) ? "s" : ""}"
  6. super("Missing required configuration #{key_word}: #{keys.inspect}")
  7. end
  8. end
  9. end