Skip to content

Commit

Permalink
Fixes #56 Do not indent =begin or =end
Browse files Browse the repository at this point in the history
  • Loading branch information
CraigWilliams committed Dec 5, 2013
1 parent eca1176 commit 251bdc6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/rbeautify/line.rb
Expand Up @@ -16,6 +16,8 @@ def format
if format?
if stripped.length == 0
@formatted = ""
elsif !content.match(/\s*?=/).nil?
@formatted = stripped
else
@formatted = tab_string + stripped
end
Expand Down

0 comments on commit 251bdc6

Please sign in to comment.