aboutsummaryrefslogtreecommitdiffstats
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
commit392ff30ca7de79d1b77e002abee805f3dbe4a023 (patch)
tree88ddc39a4af9fcf199e22de51bf4fcb04b10a54b /process.c
parent96be579a83d0a0c8e524b9c061ad5be78c980122 (diff)
downloadruby-392ff30ca7de79d1b77e002abee805f3dbe4a023.tar.gz
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