summaryrefslogtreecommitdiffhomepage
path: root/mrblib
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-05-11 07:36:34 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-05-11 07:36:34 +0900
commit2a280a8f70fe0eea5937b37888c5d77a2ada7bc5 (patch)
tree7b02762eaade81a1b0601afc9985960469c35d8d /mrblib
parent23019213b73fd98844facaedae862e71885e7f34 (diff)
downloadmruby-2a280a8f70fe0eea5937b37888c5d77a2ada7bc5.tar.gz
mruby-2a280a8f70fe0eea5937b37888c5d77a2ada7bc5.zip
Remove the obsolete term `Fixnum`.
Except for compatibility code.
Diffstat (limited to 'mrblib')
-rw-r--r--mrblib/range.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/mrblib/range.rb b/mrblib/range.rb
index 36886d50c..b02fad2b6 100644
--- a/mrblib/range.rb
+++ b/mrblib/range.rb
@@ -15,7 +15,7 @@ class Range
val = self.begin
last = self.end
- if val.kind_of?(Fixnum) && last.nil?
+ if val.kind_of?(Integer) && last.nil?
i = val
while true
block.call(i)