Instance Methods

Returns the value of the node as an IntegerNode or a FloatNode. This method is deprecated in favor of value or numerator/#denominator.

Returns the value of the node as a Ruby Rational.