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
$ cat test.rb
a = [11, 22].map do |x|
x.to_s
end
puts(a.join)
$ ./tinyrb test.rb
1122
$ cat test.rb
a = [11, 22].map do |x|
x.to_s
end.join
puts(a)
$ ./tinyrb test.rb
SyntaxError: SyntaxError in test.rb at line 1 before text "a = [11, 22].map do |x|"
$
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: