Class: Puppet::Pops::Types::MissingKey
- Inherits:
-
KeyMismatch
- Object
- Mismatch
- KeyMismatch
- Puppet::Pops::Types::MissingKey
- Defined in:
- lib/puppet/pops/types/type_mismatch_describer.rb
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, #format, #hash, #initialize, #merge, #path_string, #to_s
Methods included from TenseVariants
#it_does_not_expect, #it_expects, #it_has_no
Constructor Details
This class inherits a constructor from Puppet::Pops::Types::KeyMismatch
Instance Method Details
#message(variant, position, tense = :present) ⇒ Object
191 192 193 |
# File 'lib/puppet/pops/types/type_mismatch_describer.rb', line 191 def (variant, position, tense = :present) "#{variant}#{position} #{it_expects(tense)} a value for key '#{key}'" end |