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