class Prism::ImaginaryNode Public Instance Methods value () Returns the value of the node as a Ruby Complex. toggle source # File lib/prism/node_ext.rb, line 107 def value Complex(0, numeric.value) end