1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
eban 2004-10-20 04:48:25 +00:00
parent 65ab6d93e1
commit 3a90c86316

View file

@ -103,7 +103,7 @@ public
end
def Charset.charset_str(label)
CharsetMap.key(label.downcase)
CharsetMap.index(label.downcase)
end
# us_ascii = '[\x00-\x7F]'