diff options
| author | Kevin Newton <kddnewton@gmail.com> | 2024-02-22 15:53:28 -0500 |
|---|---|---|
| committer | Kevin Newton <kddnewton@gmail.com> | 2024-02-22 22:42:44 -0500 |
| commit | 5e0589cf52113e012b48044e7e8773a2ab3ee58d (patch) | |
| tree | 5a03a0a4f59b567b1a4e28c6ac8c3fb7f4bb8c76 /lib/prism | |
| parent | 3b3def5db7c27e985c12d8d2cf0f77ef3eb63744 (diff) | |
[ruby/prism] Parse float values
https://github.com/ruby/prism/commit/9137226a52
Diffstat (limited to 'lib/prism')
| -rw-r--r-- | lib/prism/node_ext.rb | 7 |
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 |
