[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Ruby equiv of Perltidy?

RubyLANG

6/2/2005 3:39:00 PM

Hello All,

Apologies if this has been covered already but is there, or is anyone
working on a Perltidy-alike for Ruby?

Cheers

SM

------------------------------------------------------------------------------------------
Equinox Converged Solutions
Tel: +44 (0)1252 405 600
http://www.equinoxsol...
Equinox Converged Solutions is a trading name of Synetrix Holdings Limited.

IMPORTANT NOTICE:
This message is intended solely for the use of the Individual or organisation to whom it is addressed. It may contain privileged or confidential information. If you have received this message in error, please notify the originator immediately.
If you are not the intended recipient, you should not use, copy, alter, or disclose the contents of this message. All information or opinions expressed in this message and/or any attachments are those of the author and are not necessarily those of Synetrix Holdings Limited.
Synetrix Holdings Limited accepts no responsibility for loss or damage arising from its use, including damage from virus.
-------------------------------------------------------------------------------------------


4 Answers

Austin Ziegler

6/2/2005 4:43:00 PM

0

On 6/2/05, RubyLANG@equinoxsolutions.com <RubyLANG@equinoxsolutions.com> wrote:
> Hello All,
>
> Apologies if this has been covered already but is there, or is anyone
> working on a Perltidy-alike for Ruby?

What is Perltidy?

If it's a wrapper for HTML Tidy, then someone has done that already.
Look on the RAA, because I believe that it's in there.

-austin
--
Austin Ziegler * halostatue@gmail.com
* Alternate: austin@halostatue.ca


Adrian Howard

6/2/2005 5:26:00 PM

0


On 2 Jun 2005, at 17:43, Austin Ziegler wrote:

> On 6/2/05, RubyLANG@equinoxsolutions.com
> <RubyLANG@equinoxsolutions.com> wrote:
>
>> Hello All,
>>
>> Apologies if this has been covered already but is there, or is anyone
>> working on a Perltidy-alike for Ruby?
>>
>
> What is Perltidy?
>
> If it's a wrapper for HTML Tidy, then someone has done that already.
> Look on the RAA, because I believe that it's in there.

Nope. For those who don't know perltidy is the Perl's code uber-
formatter. Whatever obscure in-house style your Perl is written in
perltidy can probably has options enough to format any code in that
way - and the defaults are pretty good too.

That said - I come across a lot less Ruby that /needs/ to be
radically reformatted before it's legible ;-)

Adrian



Marcel Molina Jr.

6/2/2005 6:00:00 PM

0

On Fri, Jun 03, 2005 at 12:38:54AM +0900, RubyLANG@equinoxsolutions.com wrote:
> Apologies if this has been covered already but is there, or is anyone
> working on a Perltidy-alike for Ruby?

Yes, though he hasn't released any code yet:
http://rubyforge.org/project...

marcel
--
Marcel Molina Jr. <marcel@vernix.org>


Eric Hodel

6/2/2005 6:13:00 PM

0

On 02 Jun 2005, at 08:38, <RubyLANG@equinoxsolutions.com> wrote:

> Hello All,
>
> Apologies if this has been covered already but is there, or is anyone
> working on a Perltidy-alike for Ruby?

http://rubyforge.org/project... has ruby2ruby and a
refactoring tool (fixloops-demo.sh).

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