This method is deprecated or moved on the latest stable version.
The last existing version (v1_8_7_330) is shown here.
new!(num, den = 1)
Implements the constructor. This method does not reduce to lowest terms or check for
division by zero. Therefore #Rational()
should be preferred in normal use.
# File lib/rational.rb, line 93
def Rational.new!(num, den = 1)
APIdock release: IRON STEVE (1.4)
If you have any comments, ideas or feedback, feel free to contact us at
APIdock copyright Nodeta Oy 2008-2016
Check out how the team behind APIdock connects Pivotal Tracker, GitHub and group chat to one workflow.