summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2024-02-22 10:55:29 -0500
committerKevin Newton <kddnewton@gmail.com>2024-02-22 22:42:44 -0500
commitaf0a6ea1d5253379bd634b41ed95d8e9feed8b44 (patch)
tree68892af39d9c4ae05f4cabf68ea8d2242b69ca9f /lib
parentff6ebba9deccd4d7514d416ea4910de7717194cd (diff)
[ruby/prism] Add an IntegerField for parsing integer values
https://github.com/ruby/prism/commit/120d8c0479
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 12567b8abf..a9a0115a09 100644
--- a/lib/prism/node_ext.rb
+++ b/lib/prism/node_ext.rb
@@ -71,13 +71,6 @@ module Prism
end
end
- class IntegerNode < Node
- # Returns the value of the node as a Ruby Integer.
- def value
- Integer(slice)
- end
- end
-
class RationalNode < Node
# Returns the value of the node as a Ruby Rational.
def value