* 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
This commit is contained in:
parent
ba8471d746
commit
6bd1988668
@ -63,7 +63,7 @@ module REXML
|
||||
end
|
||||
end
|
||||
|
||||
# Evaluates whether the given string matchs an entity definition,
|
||||
# Evaluates whether the given string matches an entity definition,
|
||||
# returning true if so, and false otherwise.
|
||||
def Entity::matches? string
|
||||
(ENTITYDECL =~ string) == 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user