Class: Puppet::Pops::Types::UnexpectedBlock

Inherits:
Mismatch show all
Defined in:
lib/puppet/pops/types/type_mismatch_describer.rb

Instance Attribute Summary

Attributes inherited from Mismatch

#path

Instance Method Summary collapse

Methods inherited from Mismatch

#==, #canonical_path, #chop_path, #hash, #initialize, #merge, #path_string, #to_s

Constructor Details

This class inherits a constructor from Puppet::Pops::Types::Mismatch

Instance Method Details

#message(variant, position) ⇒ Object



169
170
171
# File 'lib/puppet/pops/types/type_mismatch_describer.rb', line 169

def message(variant, position)
  "#{variant}#{position} does not expect a block"
end