[#21157] あったらうれしいメソッド to_n, to_n!, to_s! — ogino@...

荻野です。あったらうれしいメソッドということで書いてみます。

16 messages 2000/03/03

[#21159] メソッドの入り口 — ogino@...

荻野です。もうひとつご指導ください。

93 messages 2000/03/03
[#21170] Re: メソッドの入り口 — Shin-ichiro Hara <sinara@...> 2000/03/03

原です。

[#21243] Re: メソッドの入り口 — keiju@... (石塚圭樹) 2000/03/07

けいじゅ@日本ラショナルソフトウェアです.

[#21247] Re: メソッドの入り口 — 中村暁史 Nakamura Akifumi <BXQ04723@...> 2000/03/07

[#21267] 引数コピーとオブジェクト指向 (Re: メソッドの入り口) — Hideto ISHIBASHI <s34204@...> 2000/03/08

石橋秀仁です。

[#21272] Re: 引数コピーとオブジェクト指向 (Re: メソッドの入り口 ) — 中村暁史 Nakamura Akifumi <BXQ04723@...> 2000/03/08

[#21276] Re: 引数コピーとオブジェクト指向 (Re: メソッドの入り口 ) — nobu.nakada@... 2000/03/09

なかだです。

[#21279] Re: 引数コピーとオブジェクト指向 (Re: メソッドの入り口 ) — ogino@... 2000/03/09

oop未満の世界観の荻野です。

[#21282] Re: 引数コピーとオブジェクト指向 — Tomoyuki Kosimizu <greentea@...2.so-net.ne.jp> 2000/03/09

越水です。

[#21285] Re: 引数コピーとオブジェクト指向 — ogino@... 2000/03/10

荻野です。

[#21365] Re: 引数コピーとオブジェクト指向 — Matsuo Hisanori <hisanori@...> 2000/03/13

松尾です。

[#21293] Re: 引数コピーとオブジェクト指向 — Matsuo Hisanori <hisanori@...> 2000/03/10

松尾です。

[#21297] Re: 引数コピーとオブジェクト指向 — ogino@... 2000/03/10

荻野です。

[#21302] Re: 引数コピーとオブジェクト指向 — 土岐 仁謙 <toki@...> 2000/03/10

土岐です。

[#21371] Re: 引数コピーとオブジェクト指向 — Matsuo Hisanori <hisanori@...> 2000/03/13

松尾です。

[#21374] Re: 引数コピーとオブジェクト指向 — TADA Tadashi <sho@...> 2000/03/13

ただただしです。

[#21280] raise non-Exception object — Kenichi Komiya <kom@...3.rim.or.jp>

24 messages 2000/03/09
[#21283] Re: raise non-Exception object — nobu.nakada@... 2000/03/09

なかだです。

[#21315] Re: raise non-Exception object — Kenichi Komiya <kom@...3.rim.or.jp> 2000/03/11

[#21342] Re: raise non-Exception object — nobu.nakada@... 2000/03/12

なかだです。

[#21384] ruby 1.4.4 — matz@... (Yukihiro Matsumoto)

まつもと ゆきひろです

35 messages 2000/03/13

[#21442] 配列内のソート — Takayuki Tanaka <tanaka@...>

こんにちは Tanです。

16 messages 2000/03/15

[#21583] ruby for Web — TAKAHASHI Masayoshi <maki@...>

高橋征義です。

27 messages 2000/03/22
[#21584] Re: ruby for Web — "NAKAMURA, Hiroshi" <nakahiro@...> 2000/03/22

なひです.

[#21649] net-1.1.10 — TAKAHASHI Masayoshi <maki@...>

高橋征義です。net/http 使いたおし中。

17 messages 2000/03/27

[#21669] new version of mod_ruby & eRuby — Shugo Maeda <shugo@...>

前田です。

14 messages 2000/03/28

[ruby-list:21421] Re: raise non-Exception object

From: Kenichi Komiya <kom@...3.rim.or.jp>
Date: 2000-03-14 11:17:13 UTC
List: ruby-list #21421
From: matz@netlab.co.jp (Yukihiro Matsumoto)
Subject: [ruby-list:21409] Re: raise non-Exception object
Date: Tue, 14 Mar 2000 11:40:39 +0900

> まつもと ゆきひろです
 
> 
> |exceptionを呼んで例外に変換してから例外を発生させるという説明にしてみま
> |した。形式や内容に不備がなければ英語版も用意します。
> |
> |SignalExceptionの「rescueでは補足できません。」もついでに削ってみました。
> 
> お願いします。
> 

前回の差分はファイル名の付けかたがおかしかったですね。すいませんでした。
今回は他の方々のされているのと同じにしてみたつもりですが・・・

それと、買って出ていおいて言うのも何ですが、格別英語に自信があるわけでは
ありません。あしからず。

小宮
kom@t3.rim.or.jp


*** ruby-man-1.4-dist/function.html	Tue Oct  5 01:05:05 1999
--- ruby-man-1.4/function.html	Tue Mar 14 19:49:59 2000
***************
*** 476,481 ****
--- 476,488 ----
  the position in the source file is assigned to the <CODE>$@</CODE>.
  </P>
  <p>
+ If the first argument is not an exception class or object, the
+ exception actually raised is determined by calling it's
+ <code>exception</code> method (baring the case when the argument is a
+ string in the second form).  The <code>exception</code> method of that
+ class or object must return it's representation as an exception.
+ </p>
+ <p>
  The <code>fail</code> is an alias of the <code>raise</code>.
  </p>
  <DT><A NAME="rand"><CODE>rand(<VAR>max</VAR>)</CODE></A>

*** ruby-man-1.4-dist/syntax.html	Wed Dec  8 10:01:31 1999
--- ruby-man-1.4/syntax.html	Tue Mar 14 19:54:54 2000
***************
*** 1622,1627 ****
--- 1622,1634 ----
  the position in the source file is assigned to the <CODE>$@</CODE>.
  </P>
  <p>
+ If the first argument is not an exception class or object, the
+ exception actually raised is determined by calling it's
+ <code>exception</code> method (baring the case when the argument is a
+ string in the second form).  The <code>exception</code> method of that
+ class or object must return it's representation as an exception.
+ </p>
+ <p>
  The word `<code>raise</code>' is not the reserved word in Ruby.
  <code>raise</code> is the method of the <a href="Kernel.html">
  <code>Kernel</code></a> module.  There is an alias named

*** ruby-man-1.4-dist/Exception.html	Fri Oct 15 04:24:24 1999
--- ruby-man-1.4/Exception.html	Tue Mar 14 19:41:04 2000
***************
*** 29,40 ****
--- 29,45 ----
        <dt><h2>Class Methods:</h2>
        <dd>
        <dl compact>
+ 	<dt><a name="class_exception"><code>
+ 	      exception([<var>error_message</var> = ""])</code></a></dt>
  	<dt><a name="new"><code>new([<var>error_message</var> = ""])</code></a></dt>
  	<dd>
  	  <p>Creates a new exception object.  The error_message string can be supplied
  	     as the optional argument.  The default exception handler at top leve,
  	     will show this error_message.
  	  </p>
+ 	  <p><code>exception</code> is used internally by <a href="function.html#raise"><code>
+ 		raise</code></a>.
+ 	  </p>
  	</dd>
        </dl>
        <dt><h2>Methods:</h2>
***************
*** 50,55 ****
--- 55,66 ----
  		<dt><code>"#{sourcefile}:#{sourceline}"</code>
  		<dd>(at top level)
  	      </dl>
+ 	  </dd>
+ 	  <dt><a name="exception"><code>exception</code></a></dt>
+ 	  <dd>
+ 	    <p>Return self.  This method is used internally by <a
+ 	      href="function.html#raise"> <code>raise</code></a>.
+ 	    </p>
  	  </dd>
  	  <dt><a name="message"><code>message</code></a></dt>
  	  <dt><a name="to_s"><code>to_s</code></a></dt>

In This Thread