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

Inherits:
ParameterPathElement show all
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.

Instance Attribute Summary

Attributes inherited from TypePathElement

#key

Instance Method Summary collapse

Methods inherited from TypePathElement

#==, #eql?, #hash

Constructor Details

#initialize(name = 'block') ⇒ BlockPathElement

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.

Returns a new instance of BlockPathElement.



67
68
69
# File 'lib/puppet/pops/types/type_mismatch_describer.rb', line 67

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

Instance Method Details

#to_sObject

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.



71
72
73
# File 'lib/puppet/pops/types/type_mismatch_describer.rb', line 71

def to_s
  key
end