Issue #5357 has been updated by Koichi Sasada.

Category set to misc
Status changed from Open to Assigned
Assignee set to Nobuyoshi Nakada


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

Author: Nikolai Weibull
Status: Assigned
Priority: Normal
Assignee: Nobuyoshi Nakada
Category: misc
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://bugs.ruby-lang.org/