class Puppet::Pops::Types::TypePathElement
@api private
Attributes
key[R]
Public Class Methods
new(key)
click to toggle source
# File lib/puppet/pops/types/type_mismatch_describer.rb 7 def initialize(key) 8 @key = key 9 end
Public Instance Methods
==(o)
click to toggle source
# File lib/puppet/pops/types/type_mismatch_describer.rb 15 def ==(o) 16 self.class == o.class && key == o.key 17 end
eql?(o)
click to toggle source
# File lib/puppet/pops/types/type_mismatch_describer.rb 19 def eql?(o) 20 self == o 21 end
hash()
click to toggle source
# File lib/puppet/pops/types/type_mismatch_describer.rb 11 def hash 12 key.hash 13 end