summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authorstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-12 20:01:52 +0000
committerstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-12 20:01:52 +0000
commit580a210350e10a817a71a1e8616e7283586e07d5 (patch)
tree88ddc39a4af9fcf199e22de51bf4fcb04b10a54b /process.c
parente7719a1c6ae44b2b13e2639f42e6f18754e4de91 (diff)
process.c: [DOC] improve docs for Process.groups
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r--process.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/process.c b/process.c
index 27570b609e..987fccdea7 100644
--- a/process.c
+++ b/process.c
@@ -6164,20 +6164,20 @@ maxgroups(void)
* call-seq:
* Process.groups -> array
*
- * Get an <code>Array</code> of the gids of groups in the
+ * Get an <code>Array</code> of the group IDs in the
* supplemental group access list for this process.
*
* Process.groups #=> [27, 6, 10, 11]
*
* Note that this method is just a wrapper of getgroups(2).
* This means that the following characteristics of
- * the results are completely depends on your system:
+ * the result completely depend on your system:
*
* - the result is sorted
* - the result includes effective GIDs
* - the result does not include duplicated GIDs
*
- * You can certainly get a sorted unique GID list of
+ * You can make sure to get a sorted unique GID list of
* the current process by this expression:
*
* Process.groups.uniq.sort