Method: Puppet::Pops::Types::PNumericType#from

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

#fromFloat, Integer

Returns the lower bound of the numeric range or ‘nil` if no lower bound is set.

Returns:

API:

  • public



911
912
913
# File 'lib/puppet/pops/types/types.rb', line 911

def from
  @from == -Float::INFINITY ? nil : @from
end