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

#==, #eql?, #hash

Constructor Details

#initialize(name = 'block') ⇒ BlockPathElement

Returns a new instance of BlockPathElement.



50
51
52
# File 'lib/puppet/pops/types/type_mismatch_describer.rb', line 50

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

Instance Method Details

#to_sObject



54
55
56
# File 'lib/puppet/pops/types/type_mismatch_describer.rb', line 54

def to_s
  key
end