diff options
author | stomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-12 20:01:52 +0000 |
---|---|---|
committer | stomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-12 20:01:52 +0000 |
commit | 580a210350e10a817a71a1e8616e7283586e07d5 (patch) | |
tree | 88ddc39a4af9fcf199e22de51bf4fcb04b10a54b /process.c | |
parent | e7719a1c6ae44b2b13e2639f42e6f18754e4de91 (diff) | |
download | ruby-580a210350e10a817a71a1e8616e7283586e07d5.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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |