I think the popular way is to use operator modifiers only if it's single-line . In all other cases, use the usual if style, common in C, Java, etc.
bail_out if reqd_param.nil?
if its_gonna_be_long then
long_exec stmt1
long_exec stmt2
....
end
Gishu source
share