diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-05-11 07:36:34 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-05-11 07:36:34 +0900 |
| commit | 2a280a8f70fe0eea5937b37888c5d77a2ada7bc5 (patch) | |
| tree | 7b02762eaade81a1b0601afc9985960469c35d8d /mrblib/range.rb | |
| parent | 23019213b73fd98844facaedae862e71885e7f34 (diff) | |
| download | mruby-2a280a8f70fe0eea5937b37888c5d77a2ada7bc5.tar.gz mruby-2a280a8f70fe0eea5937b37888c5d77a2ada7bc5.zip | |
Remove the obsolete term `Fixnum`.
Except for compatibility code.
Diffstat (limited to 'mrblib/range.rb')
| -rw-r--r-- | mrblib/range.rb | 2 |
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) |
