Permalink
Browse files

[#7] Improve argument list/hash format guidline

  • Loading branch information...
1 parent d2f8173 commit 74bd9ce6d173baf9a01c422bf20c4242205d5d2b @croaky croaky committed with Dan Croak Oct 2, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 style/README.md
View
@@ -36,8 +36,10 @@ Formatting
* Delete trailing whitespace.
* Don't include spaces after `(`, `[` or before `]`, `)`.
* Don't vertically align tokens on consecutive lines.
-* If you break up an argument list, keep the parenthesis on its own line.
-* If you break up a hash, keep the curly braces on their own lines.
+* If you break up an argument list, keep the arguments on their own lines and
+ closing parenthesis on its own line.
+* If you break up a hash, keep the elements on their own lines and closing curly
+ brace on its own line.
* Indent continued lines two spaces.
* Indent private methods equal to public methods.
* Use 2 space indentation (no tabs).

0 comments on commit 74bd9ce

Please sign in to comment.