Class: Prism::ImaginaryNode
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Node
|
|
Instance Chain:
self,
Node
|
|
Inherits: |
Prism::Node
|
Defined in: | lib/prism/node_ext.rb |
Instance Attribute Summary
Node
- Inherited
Instance Method Summary
Instance Method Details
#value
Returns the value of the node as a Ruby Complex.
# File 'lib/prism/node_ext.rb', line 107
def value Complex(0, numeric.value) end