Method: Puppet::Pops::Types::PNumericType#numeric_from

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

#numeric_fromFloat, Integer

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

Returns:

  • (Float, Integer)


972
973
974
# File 'lib/puppet/pops/types/types.rb', line 972

def numeric_from
  @from
end