
30 Aug
2023
30 Aug
'23
4:59 a.m.
Hello, Is () supposed to allow multiple statements in it? Documentation is not explicit about it. https://docs.ruby-lang.org/en/master/syntax/control_expressions_rdoc.html#la... E.g. puts((:ignore; :x)) # x puts (:ignore; :x) # Otoh, raises an unexpected semicolon error I'm looking at using () in a while loop's condition but please just consider that as an extra info. I need an official answer on my query above. -- konsolebox