AlkantarClanX12
Current Path : /opt/alt/ruby18/share/ri/1.8/system/Object/ |
Current File : //opt/alt/ruby18/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