mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
numeric.rb: add parentheses to block.call
added parentheses to block.call where the return value is used. Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -74,7 +74,7 @@ class Integer
|
||||
|
||||
i = 0
|
||||
while i < self
|
||||
block.call i
|
||||
block.call(i)
|
||||
i += 1
|
||||
end
|
||||
self
|
||||
|
||||
Reference in New Issue
Block a user