ruby-changes:52971
From: stomar <ko1@a...>
Date: Sat, 20 Oct 2018 06:35:56 +0900 (JST)
Subject: [ruby-changes:52971] stomar:r65185 (trunk): array.c, file.c, string.c: [DOC] fix typos
stomar 2018-10-20 06:35:51 +0900 (Sat, 20 Oct 2018) New Revision: 65185 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65185 Log: array.c, file.c, string.c: [DOC] fix typos Modified files: trunk/array.c trunk/file.c trunk/string.c Index: array.c =================================================================== --- array.c (revision 65184) +++ array.c (revision 65185) @@ -3707,7 +3707,7 @@ ary_append(VALUE x, VALUE y) https://github.com/ruby/ruby/blob/trunk/array.c#L3707 /* * call-seq: - * ary.concat(other_ary1, other_ary2,...) -> ary + * ary.concat(other_ary1, other_ary2, ...) -> ary * * Appends the elements of <code>other_ary</code>s to +self+. * @@ -4399,7 +4399,7 @@ rb_ary_or(VALUE ary1, VALUE ary2) https://github.com/ruby/ruby/blob/trunk/array.c#L4399 /* * call-seq: - * ary.union(other_ary1, other_ary2,...) -> ary + * ary.union(other_ary1, other_ary2, ...) -> ary * * 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. Index: file.c =================================================================== --- file.c (revision 65184) +++ file.c (revision 65185) @@ -2497,7 +2497,7 @@ chown_internal(const char *path, void *a https://github.com/ruby/ruby/blob/trunk/file.c#L2497 /* * call-seq: - * File.chown(owner_int, group_int, file_name,... ) -> integer + * File.chown(owner_int, group_int, file_name, ...) -> integer * * Changes the owner and group of the named file(s) to the given * numeric owner and group id's. Only a process with superuser @@ -2751,7 +2751,7 @@ utime_internal_i(int argc, VALUE *argv, https://github.com/ruby/ruby/blob/trunk/file.c#L2751 /* * call-seq: - * File.utime(atime, mtime, file_name,...) -> integer + * File.utime(atime, mtime, file_name, ...) -> integer * * Sets the access and modification times of each named file to the * first two arguments. If a file is a symlink, this method acts upon @@ -2770,7 +2770,7 @@ rb_file_s_utime(int argc, VALUE *argv) https://github.com/ruby/ruby/blob/trunk/file.c#L2770 /* * call-seq: - * File.lutime(atime, mtime, file_name,...) -> integer + * File.lutime(atime, mtime, file_name, ...) -> integer * * Sets the access and modification times of each named file to the * first two arguments. If a file is a symlink, this method acts upon Index: string.c =================================================================== --- string.c (revision 65184) +++ string.c (revision 65185) @@ -2975,7 +2975,7 @@ rb_str_concat_literals(size_t num, const https://github.com/ruby/ruby/blob/trunk/string.c#L2975 /* * call-seq: - * str.concat(obj1, obj2,...) -> str + * str.concat(obj1, obj2, ...) -> str * * Concatenates the given object(s) to <i>str</i>. If an object is an * <code>Integer</code>, it is considered a codepoint and converted @@ -3095,7 +3095,7 @@ rb_str_concat(VALUE str1, VALUE str2) https://github.com/ruby/ruby/blob/trunk/string.c#L3095 /* * call-seq: - * str.prepend(other_str1, other_str2,...) -> str + * str.prepend(other_str1, other_str2, ...) -> str * * Prepend---Prepend the given strings to <i>str</i>. * @@ -6683,7 +6683,7 @@ rb_str_downcase_bang(int argc, VALUE *ar https://github.com/ruby/ruby/blob/trunk/string.c#L6683 * This option cannot be combined with any other option. * :turkic :: * Full Unicode case mapping, adapted for Turkic languages - * (Turkish, Azerbaijani,...). This means that upper case I is mapped to + * (Turkish, Azerbaijani, ...). This means that upper case I is mapped to * lower case dotless i, and so on. * :lithuanian :: * Currently, just full Unicode case mapping. In the future, full Unicode -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/