From: nobu@... Date: 2005-02-03T23:11:18+09:00 Subject: [ruby-dev:25628] Re: StringIO#close and other methods return self なかだです。 At Thu, 3 Feb 2005 10:24:39 +0900, sheepman wrote in [ruby-dev:25623]: > StringIO#close などのメソッドが IO#close と違い self を返すのは意図された > 動作でしょうか。 IOに合わせます。 > close_read, close_write, print, printf, puts なども nil でなく self を返します。 print, printf, putsはIOと同じ関数を使っているので、nilを返して いるはずです。 -- --- 僕の前にBugはない。 --- 僕の後ろにBugはできる。 中田 伸悦