summaryrefslogtreecommitdiff
path: root/lib/rexml
diff options
context:
space:
mode:
authorryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-12 00:38:57 +0000
committerryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-12 00:38:57 +0000
commit73d64b981146768035e02062805046794ef3f2d8 (patch)
treefc38133c06123992dfdf3ee0199660e18998cffe /lib/rexml
parent54a816cfdfcb2c2b7ece54d5537a7c39432419d5 (diff)
Fixed typo in code. Fixes bug #10420
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rexml')
-rw-r--r--lib/rexml/dtd/dtd.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rexml/dtd/dtd.rb b/lib/rexml/dtd/dtd.rb
index 81119cfa9b..4f735d4812 100644
--- a/lib/rexml/dtd/dtd.rb
+++ b/lib/rexml/dtd/dtd.rb
@@ -25,7 +25,7 @@ module REXML
when ElementDecl.PATTERN_RE
match = $&
source = $'
- contents << EleemntDecl.new( match )
+ contents << ElementDecl.new( match )
when AttlistDecl.PATTERN_RE
matchdata = $~
source = $'