Skip to content
instance method

Prism::RationalNode#numeric

numeric

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