Current Path : /usr/local/share/ri/1.8/system/Object/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/share/ri/1.8/system/Object/methods-i.yaml |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a list of the names of methods publicly accessible in <em>obj</em>. This will include all the methods accessible in <em>obj</em>'s ancestors. - !ruby/struct:SM::Flow::VERB body: " class Klass\n def kMethod()\n end\n end\n k = Klass.new\n k.methods[0..9] #=> ["kMethod", "freeze", "nil?", "is_a?",\n "class", "instance_variable_set",\n "methods", "extend", "<em>send</em>", "instance_eval"]\n k.methods.length #=> 42\n" full_name: Object#methods is_singleton: false name: methods params: | obj.methods => array visibility: public