summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
authorstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-13 19:01:22 (GMT)
committerstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-13 19:01:22 (GMT)
commit921dc157d8d88365c0715851fb3c344d247247dd (patch)
tree298f294228b1f7bc6e44332357a9c53431b8142f /array.c
parente2d9042b1977f3724cc68b8fe12cbd9d804f53c0 (diff)
array.c: fix rdoc syntax
* array.c: [DOC] use `<code>other_ary</code>s' instead of `+other_ary+s', which is not rendered correctly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'array.c')
-rw-r--r--array.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/array.c b/array.c
index 2a944d2..24589a9 100644
--- a/array.c
+++ b/array.c
@@ -3709,7 +3709,7 @@ ary_append(VALUE x, VALUE y)
* call-seq:
* ary.concat(other_ary1, other_ary2,...) -> ary
*
- * Appends the elements of +other_ary+s to +self+.
+ * Appends the elements of <code>other_ary</code>s to +self+.
*
* [ "a", "b" ].concat( ["c", "d"]) #=> [ "a", "b", "c", "d" ]
* [ "a" ].concat( ["b"], ["c", "d"]) #=> [ "a", "b", "c", "d" ]
@@ -4227,7 +4227,7 @@ rb_ary_diff(VALUE ary1, VALUE ary2)
* Array Difference
*
* Returns a new array that is a copy of +self+, removing any items
- * that also appear in any of the +other_ary+s. The order of +self+ is
+ * that also appear in any of the <code>other_ary</code>s. The order of +self+ is
* preserved.
*
* It compares elements using their #hash and #eql? methods for efficiency.
@@ -4401,7 +4401,7 @@ rb_ary_or(VALUE ary1, VALUE ary2)
* call-seq:
* ary.union(other_ary1, other_ary2,...) -> ary
*
- * Set Union --- Returns a new array by joining +other_ary+s with +self+,
+ * Set Union --- Returns a new array by joining <code>other_ary</code>s with +self+,
* excluding any duplicates and preserving the order from the given arrays.
*
* It compares elements using their #hash and #eql? methods for efficiency.