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
 8 def initialize(key)
 9   @key = key
10 end

Public Instance Methods

==(o) click to toggle source
   # File lib/puppet/pops/types/type_mismatch_describer.rb
16 def ==(o)
17   self.class == o.class && key == o.key
18 end
eql?(o) click to toggle source
   # File lib/puppet/pops/types/type_mismatch_describer.rb
20 def eql?(o)
21   self == o
22 end
hash() click to toggle source
   # File lib/puppet/pops/types/type_mismatch_describer.rb
12 def hash
13   key.hash
14 end