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
166 def initialize(path, key)
167   super(path)
168   @key = key
169 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
171 def ==(o)
172   super.==(o) && key == o.key
173 end
hash() click to toggle source
Calls superclass method Puppet::Pops::Types::Mismatch#hash
    # File lib/puppet/pops/types/type_mismatch_describer.rb
175 def hash
176   super.hash ^ key.hash
177 end