From 3a90c86316142c7463b16a0ac1548f9a13541fcb Mon Sep 17 00:00:00 2001 From: eban Date: Wed, 20 Oct 2004 04:48:25 +0000 Subject: * 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 --- lib/xsd/charset.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]' -- cgit v1.2.3