Method: Puppet::Pops::Types::PNumericType#to
- Defined in:
- lib/puppet/pops/types/types.rb
#to ⇒ Float, Integer
Returns the upper bound of the numeric range or nil if no upper bound is set.
917 918 919 |
# File 'lib/puppet/pops/types/types.rb', line 917 def to @to == Float::INFINITY ? nil : @to end |