From 5e0589cf52113e012b48044e7e8773a2ab3ee58d Mon Sep 17 00:00:00 2001 From: Kevin Newton Date: Thu, 22 Feb 2024 15:53:28 -0500 Subject: [ruby/prism] Parse float values https://github.com/ruby/prism/commit/9137226a52 --- lib/prism/node_ext.rb | 7 ------- 1 file changed, 7 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3