From: Alex Young Date: 2012-12-03T19:54:11+09:00 Subject: [ruby-core:50519] Re: [ruby-trunk - Bug #5357][Feedback] Indentation of nested operators should nest On 03/12/12 02:35, nobu (Nobuyoshi Nakada) wrote: > > Issue #5357 has been updated by nobu (Nobuyoshi Nakada). > > Status changed from Assigned to Feedback > > =begin > Your first example seems inconsistent, why are the last 3 lines indented at the same column? > It would be: > > return if > hash. > values_at(:a, :b, :c). > reject{ |e| e.nil? or e.empty? }. > empty? > > But it doesn't look nice to me. Indenting the last 3 lines highlights that the method chain is hanging off hash. I do this myself. -- Alex