From: dblack@... Date: 2006-11-15T02:54:41+09:00 Subject: Re: ruby indentantion Hi -- On Wed, 15 Nov 2006, Gavin Kistner wrote: > From: Trans [mailto:transfire@gmail.com] >> This is just an guestimation but I think Ruby went 2-space because the >> most common keyword that takes a block is only three letters long: >> 'def'. > > What about 'class' or 'module'? Don't you indent inside of them? I can't wait for an editor plugin that indents based on the length of the first word on the previous line.... :-) David -- David A. Black | dblack@rubypal.com Author of "Ruby for Rails" [1] | Ruby/Rails training & consultancy [3] DABlog (DAB's Weblog) [2] | Co-director, Ruby Central, Inc. [4] [1] http://www.manning.com/black | [3] http://www.rubypowerandlight.com [2] http://dablog.rubypal.com | [4] http://www.rubycentral.org