--- !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 obj. This will include all the methods accessible in obj'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", "send", "instance_eval"]\n k.methods.length #=> 42\n" full_name: Object#methods is_singleton: false name: methods params: | obj.methods => array visibility: public