diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-20 04:48:25 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-20 04:48:25 +0000 |
commit | 3a90c86316142c7463b16a0ac1548f9a13541fcb (patch) | |
tree | 609b64e09048924e936eaab408575b88c11bab11 /lib | |
parent | 65ab6d93e1c14d1d6d43ffecdcfc585ebdd5a316 (diff) |
* lib/xsd/charset.rb (Charset.charset_str): reverted. Hash#key does not exist in 1.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/xsd/charset.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xsd/charset.rb b/lib/xsd/charset.rb index e0241fdebc..362f13edfc 100644 --- a/lib/xsd/charset.rb +++ b/lib/xsd/charset.rb @@ -103,7 +103,7 @@ public end def Charset.charset_str(label) - CharsetMap.key(label.downcase) + CharsetMap.index(label.downcase) end # us_ascii = '[\x00-\x7F]' |