method

prec

v1_8_6_287 - Show latest stable - Class: Precision
prec(p1)
public

Converts self into an instance of klass. By default, prec invokes

   klass.induced_from(num)

and returns its value. So, if klass.induced_from doesn’t return an instance of klass, it will be necessary to reimplement prec.