Exception: ContractedValue::Errors::UnexpectedInputKeys
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- ContractedValue::Errors::UnexpectedInputKeys
- Defined in:
- lib/contracted_value/core.rb
Instance Method Summary collapse
-
#initialize(keys) ⇒ UnexpectedInputKeys
constructor
A new instance of UnexpectedInputKeys.
Constructor Details
#initialize(keys) ⇒ UnexpectedInputKeys
Returns a new instance of UnexpectedInputKeys.
84 85 86 87 88 89 90 |
# File 'lib/contracted_value/core.rb', line 84 def initialize(keys) super( <<~MSG Unexpected key(s) #{keys.map{|key| ":#{key}" }.join(", ")} detected in input MSG ) end |