Skip to Content Skip to Search
Methods
V

Instance Public methods

value()

Returns the value of the node as a Ruby Complex.

# File ruby/lib/prism/node_ext.rb, line 69
def value
  Complex(0, numeric.value)
end