Class: Puppet::Pops::Types::ExtraneousKey Private
- Inherits:
-
KeyMismatch
- Object
- Mismatch
- KeyMismatch
- Puppet::Pops::Types::ExtraneousKey
- Defined in:
- lib/puppet/pops/types/type_mismatch_describer.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from KeyMismatch
Attributes inherited from Mismatch
Instance Method Summary collapse
Methods inherited from KeyMismatch
Methods inherited from Mismatch
#==, #canonical_path, #chop_path, #eql?, #format, #hash, #initialize, #merge, #path_string, #to_s
Constructor Details
This class inherits a constructor from Puppet::Pops::Types::KeyMismatch
Instance Method Details
#message(variant, position) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
195 196 197 |
# File 'lib/puppet/pops/types/type_mismatch_describer.rb', line 195 def (variant, position) "#{variant}#{position} unrecognized key '#{@key}'" end |