R
RichardOnRails
Hi All,
I like to use the following form for handling error situations:
( puts "ERROR: Long msg";
exit) if some_boolean _expression
I want the multiple form because the error messages are often long and
sometimes multi-line.
Is there any way to improve it by getting rid of the parentheses?
Thanks in advance,
Richard
I like to use the following form for handling error situations:
( puts "ERROR: Long msg";
exit) if some_boolean _expression
I want the multiple form because the error messages are often long and
sometimes multi-line.
Is there any way to improve it by getting rid of the parentheses?
Thanks in advance,
Richard