Skip to content
instance method

Prism::RationalNode#value

value

Returns the value of the node as a Ruby Rational.

See also #type #octal? also in 3.4 · 3.3