Skip to content

Commit

Permalink
docs: updates from Homebrew/brew
Browse files Browse the repository at this point in the history
  • Loading branch information
BrewTestBot committed Mar 27, 2024
1 parent 5a0fb2e commit 23c8c99
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/Homebrew.html
Original file line number Diff line number Diff line change
Expand Up @@ -18722,8 +18722,8 @@ <h3 class="signature " id="running_as_root?-class_method">
<pre class="code"><span class="info file"># File 'global.rb', line 108</span>

<span class='kw'>def</span> <span class='id identifier rubyid_running_as_root?'>running_as_root?</span>
<span class='ivar'>@process_uid</span> <span class='op'>||=</span> <span class='const'>Process</span><span class='period'>.</span><span class='id identifier rubyid_uid'>uid</span>
<span class='ivar'>@process_uid</span><span class='period'>.</span><span class='id identifier rubyid_zero?'>zero?</span>
<span class='ivar'>@process_euid</span> <span class='op'>||=</span> <span class='const'>Process</span><span class='period'>.</span><span class='id identifier rubyid_euid'>euid</span>
<span class='ivar'>@process_euid</span><span class='period'>.</span><span class='id identifier rubyid_zero?'>zero?</span>
<span class='kw'>end</span></pre>
</td>
</tr>
Expand Down
8 changes: 7 additions & 1 deletion docs/Utils.html
Original file line number Diff line number Diff line change
Expand Up @@ -1791,7 +1791,10 @@ <h3 class="signature " id="safe_fork-class_method">
101
102
103
104</pre>
104
105
106
107</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'utils/fork.rb', line 32</span>
Expand All @@ -1809,6 +1812,9 @@ <h3 class="signature " id="safe_fork-class_method">
<span class='id identifier rubyid_server'>server</span><span class='period'>.</span><span class='id identifier rubyid_close'>close</span>
<span class='id identifier rubyid_read'>read</span><span class='period'>.</span><span class='id identifier rubyid_close'>close</span>
<span class='id identifier rubyid_write'>write</span><span class='period'>.</span><span class='id identifier rubyid_fcntl'>fcntl</span><span class='lparen'>(</span><span class='const'>Fcntl</span><span class='op'>::</span><span class='const'>F_SETFD</span><span class='comma'>,</span> <span class='const'>Fcntl</span><span class='op'>::</span><span class='const'>FD_CLOEXEC</span><span class='rparen'>)</span>

<span class='const'>Process</span><span class='op'>::</span><span class='const'>UID</span><span class='period'>.</span><span class='id identifier rubyid_change_privilege'>change_privilege</span><span class='lparen'>(</span><span class='const'>Process</span><span class='period'>.</span><span class='id identifier rubyid_euid'>euid</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='const'>Process</span><span class='period'>.</span><span class='id identifier rubyid_euid'>euid</span> <span class='op'>!=</span> <span class='const'>Process</span><span class='period'>.</span><span class='id identifier rubyid_uid'>uid</span>

<span class='kw'>yield</span>
<span class='kw'>rescue</span> <span class='const'>Exception</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_e'>e</span> <span class='comment'># rubocop:disable Lint/RescueException
</span> <span class='id identifier rubyid_error_hash'>error_hash</span> <span class='op'>=</span> <span class='const'>JSON</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_to_json'>to_json</span>
Expand Down

0 comments on commit 23c8c99

Please sign in to comment.