mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Fix typo in mrblib/range.rb [ci skip]
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ class Range
|
||||
return self
|
||||
end
|
||||
|
||||
if val.kind_of?(String) && last.kind_of?(String) # fixnums are special
|
||||
if val.kind_of?(String) && last.kind_of?(String) # strings are special
|
||||
if val.respond_to? :upto
|
||||
return val.upto(last, exclude_end?, &block)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user