[#1185] ruby on Macintosh — 藤本尚邦 / FUJIMOTO Hisakuni <hisa@...>
みなさまはじめまして。藤本と申します。1ヵ月くらい前にDBMのことで
6 messages
1998/01/02
[#1193] SHA module — Eiji-usagi-MATSUmoto <ematsu@...>
うさぎです
5 messages
1998/01/05
[#1194] html check — masaki.suketa@...
助田です。
5 messages
1998/01/05
[#1215] var arg method — Kikutani Makoto <kikutani@...>
きくたにです。
10 messages
1998/01/06
[#1216] Re: var arg method
— matz@... (Yukihiro Matsumoto)
1998/01/06
まつもと ゆきひろです
[#1218] Re: var arg method
— Kikutani Makoto <kikutani@...>
1998/01/06
きくたにです。説明不足ですみません。
[#1235] RE: ruby on Macintosh — 青山 和光 <PXN11625@...>
In-Reply-To: [ruby-dev:1185] ruby on Macintosh
8 messages
1998/01/07
[#1249] Ruby/Gtk — matz@... (Yukihiro Matsumoto)
まつもと ゆきひろです
5 messages
1998/01/08
[#1273] install *.rb to lib/ — Kikutani Makoto <kikutani@...>
rubyのmake installのとき、tcltklibのように、*.so 以外に *.rb を
7 messages
1998/01/11
[#1283] slanglib — Kikutani Makoto <kikutani@...>
きくたにです。
13 messages
1998/01/13
[#1285] Re: slanglib
— WATANABE Hirofumi <watanabe@...>
1998/01/14
わたなべです.
[#1303] tk update — Kikutani Makoto <kikutani@...>
Tkでupdateコマンドを使う必要が生じたのですが、できないようですね。
6 messages
1998/01/21
[#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
まつもと ゆきひろです
[#1358] Re: [MethodIndex] Bug and question
— keiju@... (石塚圭樹 )
1998/01/30
けいじゅ@日本ラショナルソフトウェアです.
[#1359] Re: [MethodIndex] Bug and question
— matz@... (Yukihiro Matsumoto)
1998/01/30
まつもと ゆきひろです
[#1363] Re: [MethodIndex] Bug and question
— matz@... (Yukihiro Matsumoto)
1998/02/02
まつもと ゆきひろです
[#1364] Re: [MethodIndex] Bug and question
— keiju@... (Keiju ISHITSUKA)
1998/02/02
けいじゅ@日本ラショナルソフトウェアです.
[#1339] パースエラー等の嵐をDos窓で受けるには...? — Masao Kanemitsu <masao-k@...>
4 messages
1998/01/29
[#1344] ruby-1.1b6 and rbc — keiju@... (Keiju ISHITSUKA)
けいじゅ@日本ラショナルソフトウェアです.
5 messages
1998/01/29
[ruby-dev:1327] Re: [MethodIndex] Bug and question
From:
keiju@... (石塚圭樹 )
Date:
1998-01-23 15:54:40 UTC
List:
ruby-dev #1327
けいじゅ@日本ラショナルソフトウェアです. In [ruby-dev :01326 ] the message: "[ruby-dev:1326] Re: [MethodIndex] Bug and question ", on Jan/23 17:33(JST) Yukihiro Matsumoto writes: >まつもと ゆきひろです >|ああ. そういう使い方ができるんですね. でも, Exceptionのサブクラスでは >|ないわけですね. > >ええ,繰り返しになりますが,まずGlobalExitがあって,そのサブ >クラスがExceptionです.rescueはデフォルトではExceptionのサブ >クラスを捕捉しますが,明示的に指定すること二よりExceptionよ >りも広い大域脱出を捕捉できます. そうか. 勘違いしていました. Exceptionの方がサブクラスだったんですね... >|# そうするとfatalも捕捉できる? > >fatalは捕捉できない大域脱出です.そもそもfatalクラスをRubyプ >ログラムから参照する方法はObjectSpaceを使わない限り存在しま >せんし. 了解. # でも, 小文字のクラス名でなくても良いのにと思っていたりして. >|これで思ったんですが, Kernelに定義されているメソッドはどうしましょうね? >|Kernelにはメソッドが定義されていないとしますか? > >全部,Objectで定義されているとした方が良いかなあ.それとも正 >直にKernelに定義されていてObjectにKernelがincludeされている >とした方が良いかなあ. ドキュメント的には今の方が見やすいと思いますが. 一言書いてあってもいい ですね. >|こちらのバグのせいで余分に出ているものもあると思います. できましたら, >|そういうものは逆に教えていただけると(^^;;; > >is_a?,+@, -@はマニュアルにあるようです.落ちたかな? is_a? に関しては: <code><A NAME="is_a_p">is_a?(<VAR>class</VAR>)</code></A> を <A NAME="is_a_p"><code>is_a?(<VAR>class</VAR>)</code></A> として下さい. パーザが馬鹿なもので<A NAME=...><code>となっていないとメ ソッドと認識できません. -@, +@はこちらのバグです. >|MatchingData#[]->(nothing)#(nothing) > >これはvariable.htmlで説明します. |MatchingData#[]->(nothing)#(nothing) これはvariable.htmlで説明します. むむ... うまく識別できるかな... 今度のようにクラスを判断しているかといいますと. 1. ファイル名からクラスを推測する. 2. そのファイルを<A Ref="..."><CODE>Foo で参照している場合はFoo 3. <A NAME="Foo"><H1>Bar であればクラスBar 4. <A NAME="Foo.foo"><CODE>bar の形式ならクラスはFooでメソッドはbar 5. <A NAME="foo"><CODE>barであれば, メソッドであり, 以前に推定したクラス を用い, メソッドはbar となっていますので... 特別に対応しないと無理そうですね. >|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) > >はラベルの付け方の問題でしょうか.どのように修正するのが望ま >しいか教えて下さい. 全部調べたわけではないですが, <dt> <a name="bso_recv"> </a><code>recv(<var>len</var>[, <var>flags</var>])</code> や. <DT> <CODE><A NAME="key_p">key?(<VAR>key</VAR>)</CODE></A> のようになっているみたいですね. 先ほどもいいましたように: <A NAME="..."><CODE>... という形式にして下さい(__;;;; __ ................................石塚 圭樹@日本ラショナルソフトェア... ----------------------------------->> e-mail: keiju@rational.com <<---