(2011/07/19 15:55), Martin Dürst wrote:
> please put the first character of the ennnnd in the same column as the *outermost* construct it closes:
How about to close nested block with "e+nd"?
module MyModule
class MyClass
def my_method
10.times do
if rand < 0.5
p :small
eeeeeeeeend
^^^ <- same place of original "end"!
It may be human readable!
Other example:
class Foo
def bar
if hoge
# ...
eeend # close only "if" and "def bar"
end
--
// SASADA Koichi at atdot dot net
// new indent style :P