[#1320] [MethodIndex] Bug and question — keiju@... (Keiju ISHITSUKA)

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

32 messages 1998/01/23
[#1321] Re: [MethodIndex] Bug and question — matz@... (Yukihiro Matsumoto) 1998/01/23

まつもと ゆきひろです

[#1323] Re: [MethodIndex] Bug and question — keiju@... (Keiju ISHITSUKA) 1998/01/23

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

[#1332] Re: [MethodIndex] Bug and question — keiju@... (Keiju ISHITSUKA) 1998/01/27

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

[#1333] Re: [MethodIndex] Bug and question — matz@... (Yukihiro Matsumoto) 1998/01/27

まつもと ゆきひろです

[#1334] Re: [MethodIndex] Bug and question — keiju@... (石塚圭樹 ) 1998/01/27

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

[#1351] Re: [MethodIndex] Bug and question — keiju@... (石塚圭樹 ) 1998/01/29

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

[#1353] Re: [MethodIndex] Bug and question — matz@... (Yukihiro Matsumoto) 1998/01/29

まつもと ゆきひろです

[#1354] Re: [MethodIndex] Bug and question — keiju@... (石塚圭樹 ) 1998/01/29

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

[#1355] Re: [MethodIndex] Bug and question — matz@... (Yukihiro Matsumoto) 1998/01/30

まつもと ゆきひろです

[ruby-dev:1326] Re: [MethodIndex] Bug and question

From: matz@... (Yukihiro Matsumoto)
Date: 1998-01-23 08:33:57 UTC
List: ruby-dev #1326
まつもと ゆきひろです

In message "[ruby-dev:1325] Re: [MethodIndex] Bug and question"
    on 98/01/23, 石塚圭樹 <keiju@rational.com> writes:

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

|>あんまりないですかねえ.あるとすれば捕捉できる大域脱出を全部
|>捕捉する時に rescue 節で指定するかも.
|
|ああ. そういう使い方ができるんですね. でも, Exceptionのサブクラスでは
|ないわけですね.

ええ,繰り返しになりますが,まずGlobalExitがあって,そのサブ
クラスがExceptionです.rescueはデフォルトではExceptionのサブ
クラスを捕捉しますが,明示的に指定すること二よりExceptionよ
りも広い大域脱出を捕捉できます.

|# そうするとfatalも捕捉できる?

fatalは捕捉できない大域脱出です.そもそもfatalクラスをRubyプ
ログラムから参照する方法はObjectSpaceを使わない限り存在しま
せんし.

|これで思ったんですが, Kernelに定義されているメソッドはどうしましょうね?
|Kernelにはメソッドが定義されていないとしますか?

全部,Objectで定義されているとした方が良いかなあ.それとも正
直にKernelに定義されていてObjectにKernelがincludeされている
とした方が良いかなあ.

|こちらのバグのせいで余分に出ているものもあると思います.  できましたら, 
|そういうものは逆に教えていただけると(^^;;;

is_a?,+@, -@はマニュアルにあるようです.落ちたかな?

|MatchingData#[]->(nothing)#(nothing)

これはvariable.htmlで説明します.

|Hash#has_key?->(nothing)#(nothing)
|Hash#has_value?->(nothing)#(nothing)
|Hash#key?->(nothing)#(nothing)
|Hash#value?->(nothing)#(nothing)
|DBM#empty?->(nothing)#(nothing)
|DBM#indexes->(nothing)#(nothing)
|DBM#value?->(nothing)#(nothing)
|Hash#each->(nothing)#(nothing)
|String#frozen?->(nothing)#(nothing)
|Time#ctime->(nothing)#(nothing)
|BasicSocket#recv->(nothing)#(nothing)
|Socket#listen->(nothing)#(nothing)
|Socket#recv->(nothing)#(nothing)
|TCPserver#recv->(nothing)#(nothing)
|TCPsocket#recv->(nothing)#(nothing)
|UDPsocket#recvfrom->(nothing)#(nothing)
|UNIXserver#peeraddr->(nothing)#(nothing)
|UNIXserver#recv->(nothing)#(nothing)
|UNIXsocket#=~->(nothing)#(nothing)
|UNIXsocket#addr->(nothing)#(nothing)
|UNIXsocket#path->(nothing)#(nothing)
|UNIXsocket#peeraddr->(nothing)#(nothing)
|UNIXsocket#recv->(nothing)#(nothing)

はラベルの付け方の問題でしょうか.どのように修正するのが望ま
しいか教えて下さい.

                                まつもと ゆきひろ /:|)

In This Thread