Automatic indentation

Hi all,

Most IDE integrate automatic indentation for ruby.

I googled for an autonomous indentation program (for ruby) in ruby, and
did not find any ? Does somebody know of one ?

Thks,
_md

···

--
Posted via http://www.ruby-forum.com/.

http://www.arachnoid.com/ruby/rbeautify.rb.html
And if you use 1.9, i made a new version: rbeautify.rb patched for 1.9 · GitHub

···

On Thu, Apr 15, 2010 at 4:37 PM, Michel Demazure <michel@demazure.com> wrote:

Hi all,

Most IDE integrate automatic indentation for ruby.

I googled for an autonomous indentation program (for ruby) in ruby, and
did not find any ? Does somebody know of one ?

--
Michael Fellinger
CTO, The Rubyists, LLC

Michael Fellinger wrote:

···

On Thu, Apr 15, 2010 at 4:37 PM, Michel Demazure <michel@demazure.com> > wrote:

Hi all,

Most IDE integrate automatic indentation for ruby.

I googled for an autonomous indentation program (for ruby) in ruby, and
did not find any ? Does somebody know of one ?

http://www.arachnoid.com/ruby/rbeautify.rb.html
And if you use 1.9, i made a new version: rbeautify.rb patched for 1.9 · GitHub

Thanks, Michael, it is exactly what I was looking for !
_md
--
Posted via http://www.ruby-forum.com/\.

Michael Fellinger wrote:

···

On Thu, Apr 15, 2010 at 4:37 PM, Michel Demazure <michel@demazure.com> > wrote:

Hi all,

Most IDE integrate automatic indentation for ruby.

I googled for an autonomous indentation program (for ruby) in ruby, and
did not find any ? Does somebody know of one ?

http://www.arachnoid.com/ruby/rbeautify.rb.html
And if you use 1.9, i made a new version: rbeautify.rb patched for 1.9 · GitHub

Let's collaborate :slight_smile:

-rp
--
Posted via http://www.ruby-forum.com/\.