Module Origin::Extensions::Numeric::ClassMethods
In: lib/origin/extensions/numeric.rb

Methods

Public Instance methods

Get the object as a numeric.

@api private

@example Get the object as numeric.

  Object.__numeric__("1.442")

@param [ Object ] object The object to convert.

@return [ Object ] The converted number.

@since 1.0.0

Evolve the object to an integer.

@example Evolve to integers.

  Integer.evolve("1")

@param [ Object ] object The object to evolve.

@return [ Integer ] The evolved object.

@since 1.0.0

[Validate]