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

On Thu, Apr 15, 2010 at 4:37 PM, Michel D. [email protected]
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: http://gist.github.com/367011

Michael F. wrote:

On Thu, Apr 15, 2010 at 4:37 PM, Michel D. [email protected]
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: http://gist.github.com/367011

Thanks, Michael, it is exactly what I was looking for !
_md

Michael F. wrote:

On Thu, Apr 15, 2010 at 4:37 PM, Michel D. [email protected]
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: http://gist.github.com/367011

Let’s collaborate :slight_smile:
http://github.com/rdp/ruby_beautifier
-rp

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs