You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the block argument list |bar,|, the value of bar inside the block will be 1 and 3.
With the block argument list |bar|, the value of bar inside the block will be [1, 2] and [3, 4].
The text was updated successfully, but these errors were encountered:
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [arm64-darwin22]
Input file
Rubyfmt's output
This breaks because
With the block argument list
|bar,|
, the value ofbar
inside the block will be1
and3
.With the block argument list
|bar|
, the value ofbar
inside the block will be[1, 2]
and[3, 4
].The text was updated successfully, but these errors were encountered: