Skip to content

Commit 6bd1988

Browse files
committed
* lib/rexml/entity.rb: [DOC] Fix typo
s/matchs/matches/ [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent ba8471d commit 6bd1988

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rexml/entity.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def initialize stream, value=nil, parent=nil, reference=false
6363
end
6464
end
6565

66-
# Evaluates whether the given string matchs an entity definition,
66+
# Evaluates whether the given string matches an entity definition,
6767
# returning true if so, and false otherwise.
6868
def Entity::matches? string
6969
(ENTITYDECL =~ string) == 0

0 commit comments

Comments
 (0)