module Puppet::Pops::Types::PVariantType::ClassModule

Public Instance Methods

==(o) click to toggle source
# File lib/puppet/pops/types/types.rb, line 89
def ==(o)
  (self.class == o.class && Set.new(types) == Set.new(o.types)) ||
    (o.class == PDataType && self == Puppet::Pops::Types::TypeCalculator.data_variant())
end
hash() click to toggle source
# File lib/puppet/pops/types/types.rb, line 85
def hash
  [self.class, Set.new(self.types)].hash
end