Exception: Pomodoro::Config::MissingKeyError

Inherits:
ConfigError
  • Object
show all
Defined in:
lib/pomodoro/config.rb

Instance Method Summary collapse

Constructor Details

#initialize(key) ⇒ MissingKeyError

Returns a new instance of MissingKeyError.


26
27
28
# File 'lib/pomodoro/config.rb', line 26

def initialize(key)
  super(I18n.t('errors.config.missing_key', key: key))
end