[#24536] 「Rubyの落し方」 v.s. ruby_1_8 — akira yamada / やまだあきら <akira@...>

<URL:http://jp.rubyist.net/magazine/?0002-RubyCore>

40 messages 2004/10/20
[#24541] Re: 「Rubyの落し方」 v.s. ruby_1_8 — Yukihiro Matsumoto <matz@...> 2004/10/20

まつもと ゆきひろです

[#24599] 1.8.2 preview3? — akira yamada / やまだあきら <akira@...> 2004/10/26

2004-10-20 (水) の 21:38 +0900 に Yukihiro Matsumoto さんは書きました:

[#24605] Re: 1.8.2 preview3? — akira yamada / やまだあきら <akira@...> 2004/10/27

2004-10-26 (火) の 16:16 +0900 に akira yamada / やまだあきら さんは書きました:

[#24606] Re: 1.8.2 preview3? — Yukihiro Matsumoto <matz@...> 2004/10/27

まつもと ゆきひろです

[#24608] Re: 1.8.2 preview3? — akira yamada / やまだあきら <akira@...> 2004/10/27

2004-10-27 (水) の 11:48 +0900 に Yukihiro Matsumoto さんは書きました:

[#24620] Re: 1.8.2 preview3? — akira yamada / やまだあきら <akira@...> 2004/10/27

2004-10-27 (水) の 12:42 +0900 に akira yamada / やまだあきら さんは書きました:

[#24629] Re: 1.8.2 preview3? — Tanaka Akira <akr@...17n.org> 2004/10/29

In article <1098888819.9446.14.camel@rice.p.arika.org>,

[ruby-dev:24508] xsd/charset.rb warning fix

From: "URABE Shyouhei aka.mput" <root@...>
Date: 2004-10-17 10:06:20 UTC
List: ruby-dev #24508
make test-all の最中に警告がたくさん出ます。
修正するパッチを添付しておきます。

Sun Oct 17 19:01:48 2004  URABE Shyouhei  <shyouhei@ice.uec.ac.jp>

        * lib/xsd/charset.rb (Charset::Charset.charset_str): fix to use 
Hash#key, as Hash#index is deprecated


Index: lib/xsd/charset.rb
===================================================================
RCS file: /src/ruby/lib/xsd/charset.rb,v
retrieving revision 1.5
diff -u -p -1 -w -r1.5 charset.rb
--- lib/xsd/charset.rb  4 Dec 2003 04:05:51 -0000       1.5
+++ lib/xsd/charset.rb  17 Oct 2004 10:02:38 -0000
@@ -105,3 +105,3 @@ public
    def Charset.charset_str(label)
-    CharsetMap.index(label.downcase)
+    CharsetMap.key(label.downcase)
    end


In This Thread

Prev Next