module Puppet::Pops::Types::PAnyType::ClassModule

Public Instance Methods

==(o) click to toggle source
# File lib/puppet/pops/types/types.rb, line 37
def ==(o)
  self.class == o.class
end
Also aliased as: eql?
copy() click to toggle source

Produce a deep copy of the type

# File lib/puppet/pops/types/types.rb, line 29
def copy
  Marshal.load(Marshal.dump(self))
end
eql?(o) click to toggle source
Alias for: ==
hash() click to toggle source
# File lib/puppet/pops/types/types.rb, line 33
def hash
  self.class.hash
end
to_s() click to toggle source
# File lib/puppet/pops/types/types.rb, line 43
def to_s
  Puppet::Pops::Types::TypeCalculator.string(self)
end