Permalink
Browse files

Align arguments within parens on multiple lines

  • Loading branch information...
CraigWilliams committed Apr 8, 2012
1 parent a6883b3 commit 4f826dcb2918f5bbd6061ef960c9c4fb10bec7b4
Showing with 16 additions and 2 deletions.
  1. +12 −0 README.md
  2. +4 −2 ruby/beautifier.rb
View
@@ -1,4 +1,16 @@
#Update
2012-04-08
Now aligns arguments within parens "()" on multiple lines.
eg.
```ruby
calling_a_method(
arg_one,
arg_two,
etc
)
```
2012-04-05
Now handles ruby interpreter configuration under settings
View
@@ -32,7 +32,8 @@
/^ensure\b/,
/\bwhen\b/,
/\{[^\}]*$/,
/\[[^\]]*$/
/\[[^\]]*$/,
/\([^\)]*$/
]
# outdent regexp tests
@@ -45,7 +46,8 @@
/^else\b/,
/\bwhen\b/,
/^[^\{]*\}/,
/^[^\[]*\]/
/^[^\[]*\]/,
/^[^\(]*\)/
]
def makeTab(tab)

0 comments on commit 4f826dc

Please sign in to comment.