summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2024-02-22 15:53:28 -0500
committerKevin Newton <kddnewton@gmail.com>2024-02-22 22:42:44 -0500
commit5e0589cf52113e012b48044e7e8773a2ab3ee58d (patch)
tree5a03a0a4f59b567b1a4e28c6ac8c3fb7f4bb8c76 /lib
parent3b3def5db7c27e985c12d8d2cf0f77ef3eb63744 (diff)
[ruby/prism] Parse float values
https://github.com/ruby/prism/commit/9137226a52
Diffstat (limited to 'lib')
-rw-r--r--lib/prism/node_ext.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/prism/node_ext.rb b/lib/prism/node_ext.rb
index a9a0115a09..c0f485f675 100644
--- a/lib/prism/node_ext.rb
+++ b/lib/prism/node_ext.rb
@@ -57,13 +57,6 @@ module Prism
private_constant :HeredocQuery
- class FloatNode < Node
- # Returns the value of the node as a Ruby Float.
- def value
- Float(slice)
- end
- end
-
class ImaginaryNode < Node
# Returns the value of the node as a Ruby Complex.
def value