Exception: Configru::OptionTypeError
- Inherits:
-
OptionError
- Object
- RuntimeError
- OptionError
- Configru::OptionTypeError
- Defined in:
- lib/configru/exceptions.rb
Instance Method Summary collapse
-
#initialize(file, path, expected, got) ⇒ OptionTypeError
constructor
A new instance of OptionTypeError.
Constructor Details
#initialize(file, path, expected, got) ⇒ OptionTypeError
Returns a new instance of OptionTypeError.
15 16 17 |
# File 'lib/configru/exceptions.rb', line 15 def initialize(file, path, expected, got) super(file, path, "expected #{expected}, got #{got}") end |