Module: Puppet::Pops::Types::PCollectionType::ClassModule
- Defined in:
- lib/puppet/pops/types/types.rb
Instance Method Summary collapse
- #==(o) ⇒ Object
- #hash ⇒ Object
-
#size_range ⇒ Object
Returns an array with from (min) size to (max) size.
Instance Method Details
#==(o) ⇒ Object
214 215 216 |
# File 'lib/puppet/pops/types/types.rb', line 214 def ==(o) self.class == o.class && element_type == o.element_type && size_type == o.size_type end |
#hash ⇒ Object
210 211 212 |
# File 'lib/puppet/pops/types/types.rb', line 210 def hash [self.class, element_type, size_type].hash end |