Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Prism::DSL#float_node
float_node(source: default_source, node_id: 0, location: default_location, flags: 0, value: 0.0)
lib/prism/dsl.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/prism/dsl.rb, line 342
def float_node(source: default_source, node_id: 0, location: default_location, flags: 0, value: 0.0)
FloatNode.new(source, node_id, location, flags, value)
end
Create a new FloatNode node.