Issue #5357 has been reported by Nikolai Weibull.

----------------------------------------
Bug #5357: Indentation of nested operators should nest
http://redmine.ruby-lang.org/issues/5357

Author: Nikolai Weibull
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: trunk


Hi!

Currently,

return if
  hash.
    values_at(:a, :b, :c).
    reject{ |e| e.nil? or e.empty? }.
    empty?

is indented

as

return if
  hash.
  values_at(:a, :b, :c).
  reject{ |e| e.nil? or e.empty? }.
  empty?

I would prefer it to be indented as in the first example.


-- 
http://redmine.ruby-lang.org