Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
answer
# BAD:
foo.bar = 25
foo.biz = 'Hello World'
foo.bazzle = 42
# GOOD:
foo.bar = 25
foo.biz = 'Hello World'
foo.bazzle = 42
# BAD:
Foo.something :bar, :baz => 'bling',
:bizzle => 'boink',
:bowang => '...'
# GOOD:
Foo.something :bar,
:baz => 'bling',
:bizzle => 'boink',
:bowang => '...'
# What's the underlying principle at work here?
# => In multi-line statements,
# use a maximum of one tab-width of whitespace,
# at the beginning of the line only,
# to left-align lines after the first.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.