From fd60841cc1d2bd941c454aef2c7ad3f003138c1e 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/xsd/charset.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/xsd/charset.rb b/lib/xsd/charset.rb index e0241fdeb..362f13edf 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