Exception: Configru::OptionTypeError

Inherits:
OptionError
  • Object
show all
Defined in:
lib/configru.rb

Instance Method Summary collapse

Constructor Details

#initialize(path, expected, got) ⇒ OptionTypeError

Returns a new instance of OptionTypeError.



21
22
23
# File 'lib/configru.rb', line 21

def initialize(path, expected, got)
  super(path, "expected #{expected}, got #{got}")
end