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-2015
Check out how the team behind APIdock connects Pivotal Tracker, GitHub and group chat to one workflow.