From 23e7cb41e5b4b023edfa2a018545b8f09069533c Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Tue, 3 Aug 2021 12:56:34 +0900 Subject: Replace `fixnum` references with `int`. The `Fixnum` class is no longer provided by `mruby`. --- mrblib/range.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mrblib/range.rb') 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 -- cgit v1.2.3