Skip to content

Commit

Permalink
docs: Generate Rails v7.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
toshimaru committed Oct 10, 2023
1 parent bcc63a8 commit 1c86182
Show file tree
Hide file tree
Showing 2,625 changed files with 56,943 additions and 13,229 deletions.
6 changes: 5 additions & 1 deletion src/classes/AbstractController.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="main">
<div class="banner">

<span>Ruby on Rails 7.0.8</span><br />
<span>Ruby on Rails 7.1.0</span><br />

<div class="type">Module</div>
<h1>
Expand All @@ -26,6 +26,8 @@ <h1>

<li><a href="../files/actionpack/lib/abstract_controller/collector_rb.html">actionpack/lib/abstract_controller/collector.rb</a></li>

<li><a href="../files/actionpack/lib/abstract_controller/deprecator_rb.html">actionpack/lib/abstract_controller/deprecator.rb</a></li>

<li><a href="../files/actionpack/lib/abstract_controller/error_rb.html">actionpack/lib/abstract_controller/error.rb</a></li>

<li><a href="../files/actionpack/lib/abstract_controller/helpers_rb.html">actionpack/lib/abstract_controller/helpers.rb</a></li>
Expand All @@ -44,6 +46,8 @@ <h1>

<li><a href="../files/actionpack/lib/action_controller/metal/rendering_rb.html">actionpack/lib/action_controller/metal/rendering.rb</a></li>

<li><a href="../files/railties/lib/rails/engine_rb.html">railties/lib/rails/engine.rb</a></li>

<li><a href="../files/railties/lib/rails/mailers_controller_rb.html">railties/lib/rails/mailers_controller.rb</a></li>

</ul>
Expand Down
2 changes: 1 addition & 1 deletion src/classes/AbstractController/ActionNotFound.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="main">
<div class="banner">

<span>Ruby on Rails 7.0.8</span><br />
<span>Ruby on Rails 7.1.0</span><br />

<div class="type">Class</div>
<h1>
Expand Down
56 changes: 30 additions & 26 deletions src/classes/AbstractController/Base.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="main">
<div class="banner">

<span>Ruby on Rails 7.0.8</span><br />
<span>Ruby on Rails 7.1.0</span><br />

<div class="type">Class</div>
<h1>
Expand All @@ -29,6 +29,8 @@ <h1>

<div class="description">

<h1 id="class-AbstractController::Base-label-Abstract+Controller+Base">Abstract Controller Base</h1>

<p><a href="Base.html"><code>AbstractController::Base</code></a> is a low-level API. Nobody should be using it directly, and subclasses (like <a href="../ActionController/Base.html"><code>ActionController::Base</code></a>) are expected to provide their own <code>render</code> method, since rendering means different things depending on the context.</p>

</div>
Expand Down Expand Up @@ -186,7 +188,7 @@ <h3 id="method-c-abstract-21">

</p>
<div id="method-c-abstract-21_source">
<pre><code class="ruby"><span class="ruby-comment"># File actionpack/lib/abstract_controller/base.rb, line 55</span>
<pre><code class="ruby"><span class="ruby-comment"># File actionpack/lib/abstract_controller/base.rb, line 57</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">abstract!</span>
<span class="ruby-ivar">@abstract</span> = <span class="ruby-keyword">true</span>
<span class="ruby-keyword">end</span></code></pre>
Expand Down Expand Up @@ -226,18 +228,15 @@ <h4 id="method-c-action_methods-label-Returns">Returns</h4>

</p>
<div id="method-c-action_methods_source">
<pre><code class="ruby"><span class="ruby-comment"># File actionpack/lib/abstract_controller/base.rb, line 89</span>
<pre><code class="ruby"><span class="ruby-comment"># File actionpack/lib/abstract_controller/base.rb, line 96</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">action_methods</span>
<span class="ruby-ivar">@action_methods</span> <span class="ruby-operator">||=</span> <span class="ruby-keyword">begin</span>
<span class="ruby-comment"># All public instance methods of this class, including ancestors</span>
<span class="ruby-identifier">methods</span> = (<span class="ruby-identifier">public_instance_methods</span>(<span class="ruby-keyword">true</span>) <span class="ruby-operator">-</span>
<span class="ruby-comment"># Except for public instance methods of Base and its ancestors</span>
<span class="ruby-identifier">internal_methods</span> <span class="ruby-operator">+</span>
<span class="ruby-comment"># Be sure to include shadowed public instance methods of this class</span>
<span class="ruby-identifier">public_instance_methods</span>(<span class="ruby-keyword">false</span>))

<span class="ruby-comment"># except for public instance methods of Base and its ancestors.</span>
<span class="ruby-identifier">methods</span> = <span class="ruby-identifier">public_instance_methods</span>(<span class="ruby-keyword">true</span>) <span class="ruby-operator">-</span> <span class="ruby-identifier">internal_methods</span>
<span class="ruby-comment"># Be sure to include shadowed public instance methods of this class.</span>
<span class="ruby-identifier">methods</span>.<span class="ruby-identifier">concat</span>(<span class="ruby-identifier">public_instance_methods</span>(<span class="ruby-keyword">false</span>))
<span class="ruby-identifier">methods</span>.<span class="ruby-identifier">map!</span>(<span class="ruby-operator">&amp;</span><span class="ruby-value">:to_s</span>)

<span class="ruby-identifier">methods</span>.<span class="ruby-identifier">to_set</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></code></pre>
Expand Down Expand Up @@ -272,7 +271,7 @@ <h3 id="method-c-clear_action_methods-21">

</p>
<div id="method-c-clear_action_methods-21_source">
<pre><code class="ruby"><span class="ruby-comment"># File actionpack/lib/abstract_controller/base.rb, line 107</span>
<pre><code class="ruby"><span class="ruby-comment"># File actionpack/lib/abstract_controller/base.rb, line 111</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">clear_action_methods!</span>
<span class="ruby-ivar">@action_methods</span> = <span class="ruby-keyword">nil</span>
<span class="ruby-keyword">end</span></code></pre>
Expand Down Expand Up @@ -319,7 +318,7 @@ <h4 id="method-c-controller_path-label-Returns">Returns</h4>

</p>
<div id="method-c-controller_path_source">
<pre><code class="ruby"><span class="ruby-comment"># File actionpack/lib/abstract_controller/base.rb, line 121</span>
<pre><code class="ruby"><span class="ruby-comment"># File actionpack/lib/abstract_controller/base.rb, line 125</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">controller_path</span>
<span class="ruby-ivar">@controller_path</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">name</span>.<span class="ruby-identifier">delete_suffix</span>(<span class="ruby-string">&quot;Controller&quot;</span>).<span class="ruby-identifier">underscore</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">anonymous?</span>
<span class="ruby-keyword">end</span></code></pre>
Expand All @@ -337,7 +336,7 @@ <h3 id="method-c-internal_methods">


<div class="description">
<p>A list of all internal methods for a controller. This finds the first abstract superclass of a controller, and gets a list of all public instance methods on that abstract class. Public instance methods of a controller would normally be considered action methods, so methods declared on abstract classes are being removed. (<code>ActionController::Metal</code> and <a href="../ActionController/Base.html"><code>ActionController::Base</code></a> are defined as abstract)</p>
<p>A list of all internal methods for a controller. This finds the first abstract superclass of a controller, and gets a list of all public instance methods on that abstract class. Public instance methods of a controller would normally be considered action methods, so methods declared on abstract classes are being removed. (<a href="../ActionController/Metal.html"><code>ActionController::Metal</code></a> and <a href="../ActionController/Base.html"><code>ActionController::Base</code></a> are defined as abstract)</p>
</div>


Expand All @@ -354,12 +353,17 @@ <h3 id="method-c-internal_methods">

</p>
<div id="method-c-internal_methods_source">
<pre><code class="ruby"><span class="ruby-comment"># File actionpack/lib/abstract_controller/base.rb, line 74</span>
<pre><code class="ruby"><span class="ruby-comment"># File actionpack/lib/abstract_controller/base.rb, line 76</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">internal_methods</span>
<span class="ruby-identifier">controller</span> = <span class="ruby-keyword">self</span>
<span class="ruby-identifier">methods</span> = []

<span class="ruby-keyword">until</span> <span class="ruby-identifier">controller</span>.<span class="ruby-identifier">abstract?</span>
<span class="ruby-identifier">methods</span> <span class="ruby-operator">+=</span> <span class="ruby-identifier">controller</span>.<span class="ruby-identifier">public_instance_methods</span>(<span class="ruby-keyword">false</span>)
<span class="ruby-identifier">controller</span> = <span class="ruby-identifier">controller</span>.<span class="ruby-identifier">superclass</span>
<span class="ruby-keyword">end</span>

<span class="ruby-identifier">controller</span> = <span class="ruby-identifier">controller</span>.<span class="ruby-identifier">superclass</span> <span class="ruby-keyword">until</span> <span class="ruby-identifier">controller</span>.<span class="ruby-identifier">abstract?</span>
<span class="ruby-identifier">controller</span>.<span class="ruby-identifier">public_instance_methods</span>(<span class="ruby-keyword">true</span>)
<span class="ruby-identifier">controller</span>.<span class="ruby-identifier">public_instance_methods</span>(<span class="ruby-keyword">true</span>) <span class="ruby-operator">-</span> <span class="ruby-identifier">methods</span>
<span class="ruby-keyword">end</span></code></pre>
</div>
</div>
Expand Down Expand Up @@ -392,7 +396,7 @@ <h3 id="method-c-method_added">

</p>
<div id="method-c-method_added_source">
<pre><code class="ruby"><span class="ruby-comment"># File actionpack/lib/abstract_controller/base.rb, line 126</span>
<pre><code class="ruby"><span class="ruby-comment"># File actionpack/lib/abstract_controller/base.rb, line 130</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">method_added</span>(<span class="ruby-identifier">name</span>)
<span class="ruby-keyword">super</span>
<span class="ruby-identifier">clear_action_methods!</span>
Expand Down Expand Up @@ -428,7 +432,7 @@ <h3 id="method-c-supports_path-3F">

</p>
<div id="method-c-supports_path-3F_source">
<pre><code class="ruby"><span class="ruby-comment"># File actionpack/lib/abstract_controller/base.rb, line 190</span>
<pre><code class="ruby"><span class="ruby-comment"># File actionpack/lib/abstract_controller/base.rb, line 199</span>
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">supports_path?</span>
<span class="ruby-keyword">true</span>
<span class="ruby-keyword">end</span></code></pre>
Expand Down Expand Up @@ -467,7 +471,7 @@ <h3 id="method-i-action_methods">

</p>
<div id="method-i-action_methods_source">
<pre><code class="ruby"><span class="ruby-comment"># File actionpack/lib/abstract_controller/base.rb, line 161</span>
<pre><code class="ruby"><span class="ruby-comment"># File actionpack/lib/abstract_controller/base.rb, line 170</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">action_methods</span>
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">action_methods</span>
<span class="ruby-keyword">end</span></code></pre>
Expand Down Expand Up @@ -502,7 +506,7 @@ <h3 id="method-i-action_name">

</p>
<div id="method-i-action_name_source">
<pre><code class="ruby"><span class="ruby-comment"># File actionpack/lib/abstract_controller/base.rb, line 40</span>
<pre><code class="ruby"><span class="ruby-comment"># File actionpack/lib/abstract_controller/base.rb, line 42</span>
<span class="ruby-identifier">attr_internal</span> <span class="ruby-value">:action_name</span>
</code></pre>
</div>
Expand Down Expand Up @@ -543,7 +547,7 @@ <h4 id="method-i-available_action-3F-label-Parameters">Parameters</h4>

</p>
<div id="method-i-available_action-3F_source">
<pre><code class="ruby"><span class="ruby-comment"># File actionpack/lib/abstract_controller/base.rb, line 175</span>
<pre><code class="ruby"><span class="ruby-comment"># File actionpack/lib/abstract_controller/base.rb, line 184</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">available_action?</span>(<span class="ruby-identifier">action_name</span>)
<span class="ruby-identifier">_find_action_name</span>(<span class="ruby-identifier">action_name</span>)
<span class="ruby-keyword">end</span></code></pre>
Expand Down Expand Up @@ -578,7 +582,7 @@ <h3 id="method-i-controller_path">

</p>
<div id="method-i-controller_path_source">
<pre><code class="ruby"><span class="ruby-comment"># File actionpack/lib/abstract_controller/base.rb, line 156</span>
<pre><code class="ruby"><span class="ruby-comment"># File actionpack/lib/abstract_controller/base.rb, line 165</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">controller_path</span>
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">controller_path</span>
<span class="ruby-keyword">end</span></code></pre>
Expand Down Expand Up @@ -613,7 +617,7 @@ <h3 id="method-i-formats">

</p>
<div id="method-i-formats_source">
<pre><code class="ruby"><span class="ruby-comment"># File actionpack/lib/abstract_controller/base.rb, line 44</span>
<pre><code class="ruby"><span class="ruby-comment"># File actionpack/lib/abstract_controller/base.rb, line 46</span>
<span class="ruby-identifier">attr_internal</span> <span class="ruby-value">:formats</span>
</code></pre>
</div>
Expand Down Expand Up @@ -647,7 +651,7 @@ <h3 id="method-i-performed-3F">

</p>
<div id="method-i-performed-3F_source">
<pre><code class="ruby"><span class="ruby-comment"># File actionpack/lib/abstract_controller/base.rb, line 182</span>
<pre><code class="ruby"><span class="ruby-comment"># File actionpack/lib/abstract_controller/base.rb, line 191</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">performed?</span>
<span class="ruby-identifier">response_body</span>
<span class="ruby-keyword">end</span></code></pre>
Expand Down Expand Up @@ -689,7 +693,7 @@ <h4 id="method-i-process-label-Returns">Returns</h4>

</p>
<div id="method-i-process_source">
<pre><code class="ruby"><span class="ruby-comment"># File actionpack/lib/abstract_controller/base.rb, line 142</span>
<pre><code class="ruby"><span class="ruby-comment"># File actionpack/lib/abstract_controller/base.rb, line 151</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">process</span>(<span class="ruby-identifier">action</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
<span class="ruby-ivar">@_action_name</span> = <span class="ruby-identifier">action</span>.<span class="ruby-identifier">to_s</span>

Expand Down Expand Up @@ -732,7 +736,7 @@ <h3 id="method-i-response_body">

</p>
<div id="method-i-response_body_source">
<pre><code class="ruby"><span class="ruby-comment"># File actionpack/lib/abstract_controller/base.rb, line 36</span>
<pre><code class="ruby"><span class="ruby-comment"># File actionpack/lib/abstract_controller/base.rb, line 38</span>
<span class="ruby-identifier">attr_internal</span> <span class="ruby-value">:response_body</span>
</code></pre>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/classes/AbstractController/Caching.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="main">
<div class="banner">

<span>Ruby on Rails 7.0.8</span><br />
<span>Ruby on Rails 7.1.0</span><br />

<div class="type">Module</div>
<h1>
Expand Down
2 changes: 1 addition & 1 deletion src/classes/AbstractController/Caching/ClassMethods.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="main">
<div class="banner">

<span>Ruby on Rails 7.0.8</span><br />
<span>Ruby on Rails 7.1.0</span><br />

<div class="type">Module</div>
<h1>
Expand Down
2 changes: 1 addition & 1 deletion src/classes/AbstractController/Caching/ConfigMethods.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="main">
<div class="banner">

<span>Ruby on Rails 7.0.8</span><br />
<span>Ruby on Rails 7.1.0</span><br />

<div class="type">Module</div>
<h1>
Expand Down
Loading

0 comments on commit 1c86182

Please sign in to comment.