Class: Puppet::Pops::Types::BlockPathElement

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

Instance Attribute Summary

Attributes inherited from TypePathElement

#key

Instance Method Summary collapse

Methods inherited from TypePathElement

#==, #hash

Constructor Details

#initialize(name = 'block') ⇒ BlockPathElement

Returns a new instance of BlockPathElement.



41
42
43
# File 'lib/puppet/pops/types/type_mismatch_describer.rb', line 41

def initialize(name = 'block')
  super(name)
end

Instance Method Details

#to_sObject



45
46
47
# File 'lib/puppet/pops/types/type_mismatch_describer.rb', line 45

def to_s
  key
end