Method: Puppet::Pops::Types::PNumericType#numeric_to

Defined in:
lib/puppet/pops/types/types.rb

#numeric_toFloat, Integer

Same as #to but will return ‘Float::Infinity` instead of `nil` if no lower bound is set.

Returns:

  • (Float, Integer)


929
930
931
# File 'lib/puppet/pops/types/types.rb', line 929

def numeric_to
  @to
end