Project

General

Profile

Feature #6521 ยป 0001-Document-Kernel-module-intro.patch

zzak (zzak _), 06/01/2012 05:51 AM

View differences:

object.c
rb_define_private_method(rb_cBasicObject, "singleton_method_removed", rb_obj_dummy, 1);
rb_define_private_method(rb_cBasicObject, "singleton_method_undefined", rb_obj_dummy, 1);
/* Document-module: Kernel
*
* The Kernel module is included by class Object, so its methods are
* available in every Ruby object. The Kernel instance methods are
* documented in class Object. This section documents the module methods.
* These methods are called without a receiver and thus can be called in
* functional form.
*
*/
rb_mKernel = rb_define_module("Kernel");
rb_include_module(rb_cObject, rb_mKernel);
rb_define_private_method(rb_cClass, "inherited", rb_obj_dummy, 1);
    (1-1/1)