summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--variable.c2
-rw-r--r--vm_method.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/variable.c b/variable.c
index ad7069ece0..f4988b699d 100644
--- a/variable.c
+++ b/variable.c
@@ -2738,7 +2738,7 @@ rb_const_list(void *data)
* IO.constants.include?(:SYNC) #=> true
* IO.constants(false).include?(:SYNC) #=> false
*
- * Also see Module::const_defined?.
+ * Also see Module#const_defined?.
*/
VALUE
diff --git a/vm_method.c b/vm_method.c
index aa66615fe9..9d4e25e05b 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -1031,7 +1031,7 @@ rb_remove_method(VALUE klass, const char *name)
* remove_method(string) -> self
*
* Removes the method identified by _symbol_ from the current
- * class. For an example, see Module.undef_method.
+ * class. For an example, see Module#undef_method.
* String arguments are converted to symbols.
*/