From 2a280a8f70fe0eea5937b37888c5d77a2ada7bc5 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Tue, 11 May 2021 07:36:34 +0900 Subject: Remove the obsolete term `Fixnum`. Except for compatibility code. --- mrblib/range.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mrblib') 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) -- cgit v1.2.3