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 | fd60841cc1d2bd941c454aef2c7ad3f003138c1e (patch) | |
tree | 609b64e09048924e936eaab408575b88c11bab11 /lib | |
parent | 3a2cf9966e4ceeb8ccb300e5ffb803c5129127c9 (diff) | |
download | ruby-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.rb | 2 |
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]' |