Class: Prism::FloatNode

Inherits:
Node
  • Object
show all
Defined in:
lib/prism/node_ext.rb

Instance Method Summary collapse

Instance Method Details

#valueObject

Returns the value of the node as a Ruby Float.



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

def value
  Float(slice)
end