Method: Puppet::Pops::Types::PNumericType#intersect?
- Defined in:
- lib/puppet/pops/types/types.rb
#intersect?(o) ⇒ Boolean
Checks if this numeric range intersects with another
905 906 907 |
# File 'lib/puppet/pops/types/types.rb', line 905 def intersect?(o) self.class == o.class && !(@to < o.numeric_from || o.numeric_to < @from) end |