summaryrefslogtreecommitdiffstats
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
commita72729963234c859ccfe7fb7580a92e4e0039dbf (patch)
treefc38133c06123992dfdf3ee0199660e18998cffe /lib/rexml
parent76069fdbf1a16f1e1092296b41cb92e37e389db1 (diff)
downloadruby-a72729963234c859ccfe7fb7580a92e4e0039dbf.tar.gz
ruby-a72729963234c859ccfe7fb7580a92e4e0039dbf.tar.xz
ruby-a72729963234c859ccfe7fb7580a92e4e0039dbf.zip
Fixed typo in code. Fixes bug #10420
git-svn-id: http://svn.ruby-lang.org/repos/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 81119cfa9..4f735d481 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 = $'