aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rexml
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-14 01:14:38 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-14 01:14:38 +0000
commit2138594384f031484dfb3164a366f4f57d989867 (patch)
tree53ecb5bfc399d712f9efba7e6069d87001cc31dc /lib/rexml
parent3126dc6324a1a4a9ecff4c5e2b3c2b6668c8370c (diff)
downloadruby-2138594384f031484dfb3164a366f4f57d989867.tar.gz
* lib/rexml/source.rb (REXML::IOSource#scan): Fix a typo in
document. [fix GH-934] [ci skip] Patch by Anton Davydov. Thanks!!! warrent warrant ? git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rexml')
-rw-r--r--lib/rexml/source.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rexml/source.rb b/lib/rexml/source.rb
index cfafdbd67a..87f7232232 100644
--- a/lib/rexml/source.rb
+++ b/lib/rexml/source.rb
@@ -185,7 +185,7 @@ module REXML
# You'll notice that this next section is very similar to the same
# section in match(), but just a liiittle different. This is
# because it is a touch faster to do it this way with scan()
- # than the way match() does it; enough faster to warrent duplicating
+ # than the way match() does it; enough faster to warrant duplicating
# some code
if rv.size == 0
until @buffer =~ pattern or @source.nil?