summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-10-20 04:48:25 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-10-20 04:48:25 +0000
commitfd60841cc1d2bd941c454aef2c7ad3f003138c1e (patch)
tree609b64e09048924e936eaab408575b88c11bab11 /lib
parent3a2cf9966e4ceeb8ccb300e5ffb803c5129127c9 (diff)
downloadruby-fd60841cc1d2bd941c454aef2c7ad3f003138c1e.tar.gz
ruby-fd60841cc1d2bd941c454aef2c7ad3f003138c1e.tar.xz
ruby-fd60841cc1d2bd941c454aef2c7ad3f003138c1e.zip
* 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
Diffstat (limited to 'lib')
-rw-r--r--lib/xsd/charset.rb2
1 files changed, 1 insertions, 1 deletions
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]'