123456789_123456789_123456789_123456789_123456789_

Class: Prism::FloatNode

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 Method Summary

  • #value

    Returns the value of the node as a Ruby Float.

Instance Method Details

#value

Returns the value of the node as a Ruby Float.

[ GitHub ]

  
# File 'lib/prism/node_ext.rb', line 62

def value
  Float(slice)
end