From: keiju@... (Keiju ISHITSUKA) Date: 1998-01-27T14:57:53+09:00 Subject: [ruby-dev:1332] Re: [MethodIndex] Bug and question けいじゅ@日本ラショナルソフトウェアです. In [ruby-dev :01323 ] the message: "[ruby-dev:1323] Re: [MethodIndex] Bug and question ", on Jan/23 15:15(JST) Keiju ISHITSUKA writes: さらに相談毎ができました. それに質問も >>|3. 相談ごと >>|3.1 添付クラスをどうするか? >>|3.2 Exceptionのサブクラス群 >>|3.3 Structのサブクラス群 >>|3.4 Data, fatal >>|3.5 定数 3.6 クラスメソッド クラスメソッドもうまく抽出できるようになったんですが, そのリストを見て いて思ったことがあります. リスト例:(DBM) DBM.<->(nothing)#(nothing) DBM.<=->(nothing)#(nothing) DBM.<=>->(nothing)#(nothing) DBM.==->Object.html#== DBM.===->Object.html#=== DBM.=~->(nothing)#(nothing) DBM.>->(nothing)#(nothing) DBM.>=->(nothing)#(nothing) DBM.alias_method->Module.html#alias_method DBM.ancestors->Class.html#ancestors DBM.clone->Object.html#clone DBM.const_defined?->Module.html#const_defined? DBM.const_get->Module.html#const_get DBM.const_set->Module.html#const_set DBM.constants->Module.html#constants DBM.dup->Object.html#dup DBM.eql?->Object.html#eql? DBM.equal?->Object.html#equal? DBM.extend->(nothing)#(nothing) DBM.hash->Object.html#hash DBM.id->Object.html#id DBM.included_modules->Module.html#included_modules DBM.inspect->Object.html#inspect DBM.instance_eval->Object.html#instance_eval DBM.instance_methods->Module.html#instance_methods DBM.instance_of?->Object.html#instance_of? DBM.instance_variables->(nothing)#(nothing) DBM.is_a?->(nothing)#(nothing) DBM.kind_of?->Object.html#kind_of? DBM.method_defined?->Module.html#method_defined? DBM.methods->Object.html#methods DBM.module_eval->Module.html#module_eval DBM.name->(nothing)#(nothing) DBM.new->Class.html#new DBM.nil?->Object.html#nil? DBM.open->dbm.html#open DBM.private_class_method->Module.html#private_class_method DBM.private_instance_methods->Module.html#private_instance_methods DBM.private_methods->Object.html#private_methods DBM.public_class_method->Module.html#public_class_method DBM.remove_instance_variable->Object.html#remove_instance_variable DBM.remove_method->Module.html#remove_method DBM.respond_to?->Object.html#respond_to? DBM.send->Object.html#send DBM.singleton_methods->Object.html#singleton_methods DBM.superclass->Class.html#superclass DBM.to_a->Object.html#to_a DBM.to_s->Object.html#to_s DBM.type->Object.html#type DBM.undef_method->Module.html#undef_method 上の例を見ると気づくと思いますが, MFL関係のメソッドが多過ぎて実際に知 りたいと思われる(真の)クラスメソッドが埋もれてしまっています. こんな表示でいいんですかねえ?? 4. 質問 4.1 旧MethodIndexのメソッドの表示について. Fixnum < Integer < Numeric < Object < Kernel == Fixnum < Comparable < Kernel こんな感じになっているんですが, メソッド(==)の後の クラス名は何を意味 しているのでしょう? ==が実際に定義されているクラスを意味しているんです か? #渡辺さんへの質問になるのかも知れませんが... __ ................................石塚 圭樹@日本ラショナルソフトェア... ----------------------------------->> e-mail: keiju@rational.com <<---