aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gc.c2
-rw-r--r--vm_eval.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/gc.c b/gc.c
index feea9852ec..d61db0448a 100644
--- a/gc.c
+++ b/gc.c
@@ -3489,6 +3489,8 @@ rb_memory_id(VALUE obj)
* Note: that some objects of builtin classes are reused for optimization.
* This is the case for immediate values and frozen string literals.
*
+ * BasicObject implements +__id__+, Kernel implements +object_id+.
+ *
* Immediate values are not passed by reference but are passed by value:
* +nil+, +true+, +false+, Fixnums, Symbols, and some Floats.
*
diff --git a/vm_eval.c b/vm_eval.c
index 068944d0b5..9281ebd40e 100644
--- a/vm_eval.c
+++ b/vm_eval.c
@@ -951,6 +951,8 @@ send_internal(int argc, const VALUE *argv, VALUE recv, call_type scope)
* When the method is identified by a string, the string is converted
* to a symbol.
*
+ * BasicObject implements +__send__+, Kernel implements +send+.
+ *
* class Klass
* def hello(*args)
* "Hello " + args.join(' ')