method

rationalize

ruby latest stable - Class: Integer
rationalize(p1 = v1)
public

Returns the value as a rational. The optional argument eps is always ignored.