2006-11-17 methods methodsメソッドで、そのオブジェクトのメソッド名のリストが得られます。 puts 1.methods.sort実行結果です。 % & * ** (略) __id__ __send__ abs between? ceil chr class clone coerce (略) to_s to_sym truncate type untaint upto zero? | ~