From: "nobu (Nobuyoshi Nakada)" <nobu@...>
Date: 2012-12-03T11:39:11+09:00
Subject: [ruby-core:50497] [ruby-trunk - Bug #5141][Closed] Inconsistent indentation in method call with args on multiple lines.


Issue #5141 has been updated by nobu (Nobuyoshi Nakada).

Status changed from Assigned to Closed

Use Emacs-bundled ruby-mode.el.
----------------------------------------
Bug #5141: Inconsistent indentation in method call with args on multiple lines.
https://bugs.ruby-lang.org/issues/5141#change-34334

Author: budu (Nicolas Buduroi)
Status: Closed
Priority: Normal
Assignee: nobu (Nobuyoshi Nakada)
Category: misc
Target version: 
ruby -v: HEAD


The indentation of method call with arguments spread on multiple lines is inconsistent.

  belongs_to(:foo,
          :class_name => 'Foo',
          :foreign_key => 'foo_id')

  has_many(:bar,
      :class_name => 'Bar',
      :foreign_key => :bar_id)

This was working correctly in earlier versions.


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