summaryrefslogtreecommitdiff
path: root/lib/rexml/source.rb
diff options
context:
space:
mode:
-rw-r--r--lib/rexml/source.rb2
1 files changed, 1 insertions, 1 deletions
@@ -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 = res[-1] if res.kind_of? Array
lines.index( res ) if res
end