diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-16 17:47:19 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-16 17:47:19 +0000 |
commit | 8ef5da3be1577bb5ae7f55b60cf9fedb10ecb85e (patch) | |
tree | a700e3fe92165180b04451746f9c4fda4f038289 /lib/rexml/source.rb | |
parent | 3ec0bc3828794a6ef6293b53b403af8bc2362934 (diff) | |
download | ruby-8ef5da3be1577bb5ae7f55b60cf9fedb10ecb85e.tar.gz |
consistent parentheses in assignment RHS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rexml/source.rb')
-rw-r--r-- | lib/rexml/source.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rexml/source.rb b/lib/rexml/source.rb index 915b6efc27..8161750694 100644 --- a/lib/rexml/source.rb +++ b/lib/rexml/source.rb @@ -102,7 +102,7 @@ module REXML # @return the current line in the source def current_line lines = @orig.split - res = lines.grep @buffer[0..30] + res = lines.grep(@buffer[0..30]) res = res[-1] if res.kind_of? Array lines.index( res ) if res end |