mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Remove trailing white spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ae8c770ba5
commit
a2f26bfaea
1 changed files with 1 additions and 1 deletions
|
@ -405,7 +405,7 @@ end
|
|||
INDENT = 27
|
||||
|
||||
def adjust_indent(src)
|
||||
untabify(src).gsub(/^ {#{INDENT}}/o, '').gsub(/^/, ' ')
|
||||
untabify(src).gsub(/^ {#{INDENT}}/o, '').gsub(/^/, ' ').sub(/\s*\z/, "\n")
|
||||
end
|
||||
|
||||
def untabify(str)
|
||||
|
|
Loading…
Add table
Reference in a new issue