From: David Flanagan Date: 2007-10-26T14:01:17+09:00 Subject: Fluent programming in Ruby From the ChangeLog: > Thu Oct 25 16:46:05 2007 Yukihiro Matsumoto > > * parse.y (parser_yylex): dot at the head of the line denote line > continuation from previous one to support fluent interface. > [experimental] > > * misc/ruby-mode.el (ruby-calculate-indent): support fluent dot. With this change, code like this works: puts "hello" .upcase .reverse .slice(0) # => prints "O" I'm not sure what "experimental" means when coming from Matz, but I think this is a very nice new feature. I haven't looked at Matz's code but I assume that the rule is that a newline is not a statement terminator if the first non-space character on the next line is a dot. David