econsultancy/ruby-style-guide — pull request #3 by IanVaughan (2013-12-17 23:13:46+00:00)
Title: Update rule on method call with long param list wrt line breaks

The diff doesn't do a good job of showing it, but the change is to remove :

```ruby
# bad (normal indent)
def send_mail(source)
Mailer.deliver(
to: 'bob@example.com',
from: 'us@example.com',
subject: 'Important message',
body: source.text)
end

# bad (double indent)
def send_mail(source)
Mailer.deliver(
to: 'bob@example.com',
from: 'us@example.com',
subject: 'Important message',
body: source.text)
end

# good
def send_mail(source)
Mailer.deliver(to: 'bob@example.com',
from: 'us@example.com',
subject: 'Important message',
body: source.text)
end
```
for
```ruby
# good
def send_mail(source)
Mailer.deliver(
to: 'bob@example.com',
from: 'us@example.com',
subject: 'Important message',
body: source.text
)
end
```

I actually like this more after thinking about it for a sec!