refactory ruby dialect
Issue #3
new
Hi,
I would like to know if it's ok if I refactor some blocks like
unless conf.include?(prefix) then raise RuntimeError, sprintf("No host information for %s", prefix) end
to one-liners? like raise Foo unless bar?
Comments (1)
-
reporter - Log in to comment
and for sure, be able to remove the "then" from every if, unless and etc.