diff options
| author | Kevin Newton <kddnewton@gmail.com> | 2024-02-22 10:55:29 -0500 |
|---|---|---|
| committer | Kevin Newton <kddnewton@gmail.com> | 2024-02-22 22:42:44 -0500 |
| commit | af0a6ea1d5253379bd634b41ed95d8e9feed8b44 (patch) | |
| tree | 68892af39d9c4ae05f4cabf68ea8d2242b69ca9f /lib | |
| parent | ff6ebba9deccd4d7514d416ea4910de7717194cd (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.rb | 7 |
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 |
