[#34722] cgi.rb の form の挙動 — FUJIOKA Takeyuki <fujioka@...>

藤岡です。

18 messages 2002/04/02

[#34724] 「たのしい Ruby 」 — Shin-ichiro HARA <sinara@...>

原(信)です。

18 messages 2002/04/02
[#34728] Re: 「たのしい Ruby 」 — matz@... (Yukihiro Matsumoto) 2002/04/02

まつもと ゆきひろです

[#34746] Re: 「たのしい Ruby 」 — TAKAHASHI Masayoshi <maki@...> 2002/04/02

高橋征義です。

[#34752] Re: 「たのしい Ruby 」 — Shin-ichiro HARA <sinara@...> 2002/04/03

原(信)です。

[#34842] [ann] Web 家計簿(β版)リリース — 堀川 久 <vzw00011@...>

こんにちは。

18 messages 2002/04/07
[#34869] Re: [ann] Web 家計簿(β版)リリース — Nobuhide Kanagawa <nobuhide@...> 2002/04/11

こんばんわ!

[#34885] creating a scope / anonymous module — Takaaki Tateishi <ttate@...>

立石です.

38 messages 2002/04/13
[#34891] Re: creating a scope / anonymous module — nobu.nakada@... 2002/04/14

なかだです。

[#34892] Re: creating a scope / anonymous module — Takaaki Tateishi <ttate@...> 2002/04/14

At Sun, 14 Apr 2002 18:00:12 +0900,

[#34894] Re: creating a scope / anonymous module — nobu.nakada@... 2002/04/14

なかだです。

[#34896] Re: creating a scope / anonymous module — Takaaki Tateishi <ttate@...> 2002/04/14

At Sun, 14 Apr 2002 21:08:47 +0900,

[#34899] Re: creating a scope / anonymous module — matz@... (Yukihiro Matsumoto) 2002/04/15

まつもと ゆきひろです

[#34901] Re: creating a scope / anonymous module — Takaaki Tateishi <ttate@...> 2002/04/15

At Mon, 15 Apr 2002 09:51:05 +0900,

[#34902] Re: creating a scope / anonymous module — matz@... (Yukihiro Matsumoto) 2002/04/15

まつもと ゆきひろです

[#34903] Re: creating a scope / anonymous module — Takaaki Tateishi <ttate@...> 2002/04/15

At Mon, 15 Apr 2002 13:53:53 +0900,

[#34904] Re: creating a scope / anonymous module — matz@... (Yukihiro Matsumoto) 2002/04/15

まつもと ゆきひろです

[#34910] Re: creating a scope / anonymous module — Takaaki Tateishi <ttate@...> 2002/04/15

At Mon, 15 Apr 2002 15:07:57 +0900,

[#34958] windows 版 ruby でシステムコマンドが動かない — "jazzski _comp" <jazzski_comp@...>

はじめてrubyを使うのですが、windows版(cygwin版1.6.1)で下記のように

12 messages 2002/04/23

[ruby-list:34733] Re: TMail 0.10.2 on OS X

From: Minero Aoki <aamine@...>
Date: 2002-04-02 10:12:41 UTC
List: ruby-list #34733
あおきです。

  In mail "[ruby-list:34729] TMail 0.10.2 on OS X"
    yoshihisa masuda <sacong@mac.com> wrote:

> マスダといいます。よろしくお願いします。
> いきなり質問で恐縮ですがTMailライブラリについて
> 質問させてください。
> 
> 標題のとおりOS Xに最新の0.10.2というのを入れてみました。
> ところがマニュアルに記述のあるメソッドを呼び出してみて
> も未定義エラーが返ってくるものがあります。

すみません、content_type は単なる定義忘れです。添付のパッチで
使えます。tmail/ 内であててください。facade.rb のパッチが失敗
するかもしれませんが、その場合は一行だけなので手動で追加して
ください。

小さい修正がたまってきてるので、0.10.3 もできるだけ早く出す
ようにします。
-------------------------------------------------------------------
青木峰郎

Index: facade.rb
===================================================================
RCS file: /home/aamine/cvs/public/tmail/facade.rb,v
retrieving revision 1.14
diff -u -r1.14 facade.rb
--- facade.rb	6 Mar 2002 05:33:23 -0000	1.14
+++ facade.rb	2 Apr 2002 10:12:01 -0000
@@ -48,7 +48,7 @@
     def set_string_array_attr( key, strs )
       strs.flatten!
       if strs.empty? then
-        @header.delete header.downcase
+        @header.delete key.downcase
       else
         store key, strs.join(', ')
       end
@@ -248,6 +248,7 @@
     end
 
 
+    tmail_attr_reader 'Content-Type', :content_type, 'content_type'
     tmail_attr_reader 'Content-Type', :main_type, 'main_type'
     tmail_attr_reader 'Content-Type', :sub_type,  'sub_type'
 
Index: header.rb
===================================================================
RCS file: /home/aamine/cvs/public/tmail/header.rb,v
retrieving revision 1.20
diff -u -r1.20 header.rb
--- header.rb	7 Feb 2002 17:45:17 -0000	1.20
+++ header.rb	2 Apr 2002 10:19:53 -0000
@@ -714,6 +714,7 @@
     end
 
     def content_type
+      ensure_parsed
       @sub ? sprintf('%s/%s', @main, @sub) : @main
     end
 

In This Thread