Module: Puppet::Pops::Types::PVariantType::ClassModule
- Defined in:
- lib/puppet/pops/types/types.rb
Instance Method Summary collapse
Instance Method Details
#==(o) ⇒ Object
89 90 91 92 |
# 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 ⇒ Object
85 86 87 |
# File 'lib/puppet/pops/types/types.rb', line 85 def hash [self.class, Set.new(self.types)].hash end |