class Puppet::Pops::Types::KeyMismatch

@abstract @api private

Attributes

key[R]

Public Class Methods

new(path, key) click to toggle source
Calls superclass method Puppet::Pops::Types::Mismatch::new
    # File lib/puppet/pops/types/type_mismatch_describer.rb
165 def initialize(path, key)
166   super(path)
167   @key = key
168 end

Public Instance Methods

==(o) click to toggle source
Calls superclass method Puppet::Pops::Types::Mismatch#==
    # File lib/puppet/pops/types/type_mismatch_describer.rb
170 def ==(o)
171   super.==(o) && key == o.key
172 end
hash() click to toggle source
Calls superclass method Puppet::Pops::Types::Mismatch#hash
    # File lib/puppet/pops/types/type_mismatch_describer.rb
174 def hash
175   super.hash ^ key.hash
176 end