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:
parent
65ab6d93e1
commit
3a90c86316
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ public
|
|||
end
|
||||
|
||||
def Charset.charset_str(label)
|
||||
CharsetMap.key(label.downcase)
|
||||
CharsetMap.index(label.downcase)
|
||||
end
|
||||
|
||||
# us_ascii = '[\x00-\x7F]'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue