summaryrefslogtreecommitdiffhomepage
path: root/mrblib/range.rb
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-08-03 12:56:34 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-08-03 13:00:10 +0900
commit23e7cb41e5b4b023edfa2a018545b8f09069533c (patch)
tree85c4ea2ebc36e81abd8b07e007da616f11cb8258 /mrblib/range.rb
parent019b006ee52fd0bd7786b0f42646e21e5f369e40 (diff)
downloadmruby-23e7cb41e5b4b023edfa2a018545b8f09069533c.tar.gz
mruby-23e7cb41e5b4b023edfa2a018545b8f09069533c.zip
Replace `fixnum` references with `int`.
The `Fixnum` class is no longer provided by `mruby`.
Diffstat (limited to 'mrblib/range.rb')
-rw-r--r--mrblib/range.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/mrblib/range.rb b/mrblib/range.rb
index f808053ca..4a8e10f30 100644
--- a/mrblib/range.rb
+++ b/mrblib/range.rb
@@ -37,7 +37,7 @@ class Range
end
end
- if val.kind_of?(Integer) && last.kind_of?(Integer) # fixnums are special
+ if val.kind_of?(Integer) && last.kind_of?(Integer) # integers are special
lim = last
lim += 1 unless exclude_end?
i = val