On Oct 31, 2005, at 9:17 AM, petermichaux / yahoo.com wrote:

> Hi,
>
> Is there a Ruby beautifier out there that can do more than just
> indenting?
>
> Some things I'd like to do are
>
> * change a single line with semi-colon separated statements into
> multiple lines with no semi-colons.
>
> * change multi line blocks with {...} to multi line blocks with
> do...end
>
> What other features would be good?

ruby2ruby.rb in ZenHacks can do this at the cost of your comments  
(and code in toplevel and class scope).

-- 
Eric Hodel - drbrain / segment7.net - http://segment7.net
FEC2 57F1 D465 EB15 5D6E  7C11 332A 551C 796C 9F04