aboutsummaryrefslogtreecommitdiffstats
path: root/ruby.c
diff options
context:
space:
mode:
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ruby.c b/ruby.c
index d6456272a1..86965e1bdf 100644
--- a/ruby.c
+++ b/ruby.c
@@ -1494,7 +1494,7 @@ rb_f_gsub(int argc, VALUE *argv)
* chop -> $_
*
* Equivalent to <code>($_.dup).chop!</code>, except <code>nil</code>
- * is never returned. See <code>String#chop!</code>.
+ * is never returned. See String#chop!.
* Available only when -p/-n command line option specified.
*
*/
@@ -1514,7 +1514,7 @@ rb_f_chop(void)
* chomp(string) -> $_
*
* Equivalent to <code>$_ = $_.chomp(<em>string</em>)</code>. See
- * <code>String#chomp</code>.
+ * String#chomp.
* Available only when -p/-n command line option specified.
*
*/