public Method

Module.public_instance_methods(...)

mod.public_instance_methods(include_super=true)    array

Returns a list of the public instance methods defined in mod. If the optional parameter is not false, the methods of any ancestors are included.

Source Code

/*
*  call-seq:
*     mod.public_instance_methods(include_super=true)   => array
*  
*  Returns a list of the public instance methods defined in <i>mod</i>.
*  If the optional parameter is not <code>false</code>, the methods of
*  any ancestors are included.
*/

VALUE
rb_class_public_instance_methods(argc, argv, mod)
   int argc;
   VALUE *argv;
   VALUE mod;
{
   return class_instance_method_list(argc, argv, mod, ins_methods_pub_i);
}
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.