mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Deploying to gh-pages from @ 4700ae7649
🚀
This commit is contained in:
parent
bf7d8e5dc8
commit
4d680b3aae
118 changed files with 4085 additions and 1280 deletions
|
@ -787,7 +787,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/any_after_filter.cr#L29" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/any_after_filter.cr#L29" target="_blank">
|
||||
ameba/rule/performance/any_after_filter.cr
|
||||
</a>
|
||||
|
||||
|
@ -850,6 +850,25 @@
|
|||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="class-method-summary" class="anchor" href="#class-method-summary">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
<use href="#octicon-link"/>
|
||||
</svg>
|
||||
</a>
|
||||
Class Method Summary
|
||||
</h2>
|
||||
<ul class="list-summary">
|
||||
|
||||
<li class="entry-summary">
|
||||
<a href="#parsed_doc%3AString%3F-class-method" class="signature"><strong>.parsed_doc</strong> : String?</a>
|
||||
|
||||
<div class="summary"><p>Returns documentation for this rule, if there is any.</p></div>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
|
@ -971,6 +990,15 @@
|
|||
|
||||
|
||||
|
||||
<h3>Class methods inherited from class <code><a href="../../../Ameba/Rule/Performance/Base.html">Ameba::Rule::Performance::Base</a></code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Rule/Performance/Base.html#parsed_doc%3AString%3F-class-method" class="tooltip">
|
||||
<span>parsed_doc : String?</span>
|
||||
parsed_doc</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1045,15 +1073,6 @@
|
|||
|
||||
|
||||
|
||||
<h3>Class methods inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Rule/Base.html#parsed_doc-class-method" class="tooltip">
|
||||
<span>parsed_doc</span>
|
||||
parsed_doc</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1157,7 +1176,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/any_after_filter.cr#L29" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/any_after_filter.cr#L29" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1165,6 +1184,45 @@
|
|||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="class-method-detail" class="anchor" href="#class-method-detail">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
<use href="#octicon-link"/>
|
||||
</svg>
|
||||
</a>
|
||||
Class Method Detail
|
||||
</h2>
|
||||
|
||||
<div class="entry-detail" id="parsed_doc:String?-class-method">
|
||||
<div class="signature">
|
||||
|
||||
def self.<strong>parsed_doc</strong> : String?
|
||||
|
||||
<a class="method-permalink" href="#parsed_doc%3AString%3F-class-method">#</a>
|
||||
</div>
|
||||
|
||||
<div class="doc">
|
||||
|
||||
<p>Returns documentation for this rule, if there is any.</p>
|
||||
<pre><code class="language-crystal"><span class="k">module</span> <span class="t">Ameba</span>
|
||||
<span class="c"># This is a test rule.</span>
|
||||
<span class="c"># Does nothing.</span>
|
||||
<span class="k">class</span> <span class="t">MyRule</span> <span class="o"><</span> <span class="t">Ameba</span><span class="t">::</span><span class="t">Rule</span><span class="t">::</span><span class="t">Base</span>
|
||||
<span class="k">def</span> <span class="m">test</span>(source)
|
||||
<span class="k">end</span>
|
||||
<span class="k">end</span>
|
||||
<span class="k">end</span>
|
||||
|
||||
<span class="t">MyRule</span>.parsed_doc <span class="c"># => "This is a test rule.\nDoes nothing."</span></code></pre>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
|
@ -1327,7 +1385,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/any_after_filter.cr#L38" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/any_after_filter.cr#L38" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -789,7 +789,7 @@ one value present.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/any_instead_of_empty.cr#L30" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/any_instead_of_empty.cr#L30" target="_blank">
|
||||
ameba/rule/performance/any_instead_of_empty.cr
|
||||
</a>
|
||||
|
||||
|
@ -852,6 +852,25 @@ one value present.</p>
|
|||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="class-method-summary" class="anchor" href="#class-method-summary">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
<use href="#octicon-link"/>
|
||||
</svg>
|
||||
</a>
|
||||
Class Method Summary
|
||||
</h2>
|
||||
<ul class="list-summary">
|
||||
|
||||
<li class="entry-summary">
|
||||
<a href="#parsed_doc%3AString%3F-class-method" class="signature"><strong>.parsed_doc</strong> : String?</a>
|
||||
|
||||
<div class="summary"><p>Returns documentation for this rule, if there is any.</p></div>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
|
@ -1042,6 +1061,15 @@ one value present.</p>
|
|||
|
||||
|
||||
|
||||
<h3>Class methods inherited from class <code><a href="../../../Ameba/Rule/Performance/Base.html">Ameba::Rule::Performance::Base</a></code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Rule/Performance/Base.html#parsed_doc%3AString%3F-class-method" class="tooltip">
|
||||
<span>parsed_doc : String?</span>
|
||||
parsed_doc</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1116,15 +1144,6 @@ one value present.</p>
|
|||
|
||||
|
||||
|
||||
<h3>Class methods inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Rule/Base.html#parsed_doc-class-method" class="tooltip">
|
||||
<span>parsed_doc</span>
|
||||
parsed_doc</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1228,7 +1247,7 @@ one value present.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/any_instead_of_empty.cr#L30" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/any_instead_of_empty.cr#L30" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1236,6 +1255,45 @@ one value present.</p>
|
|||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="class-method-detail" class="anchor" href="#class-method-detail">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
<use href="#octicon-link"/>
|
||||
</svg>
|
||||
</a>
|
||||
Class Method Detail
|
||||
</h2>
|
||||
|
||||
<div class="entry-detail" id="parsed_doc:String?-class-method">
|
||||
<div class="signature">
|
||||
|
||||
def self.<strong>parsed_doc</strong> : String?
|
||||
|
||||
<a class="method-permalink" href="#parsed_doc%3AString%3F-class-method">#</a>
|
||||
</div>
|
||||
|
||||
<div class="doc">
|
||||
|
||||
<p>Returns documentation for this rule, if there is any.</p>
|
||||
<pre><code class="language-crystal"><span class="k">module</span> <span class="t">Ameba</span>
|
||||
<span class="c"># This is a test rule.</span>
|
||||
<span class="c"># Does nothing.</span>
|
||||
<span class="k">class</span> <span class="t">MyRule</span> <span class="o"><</span> <span class="t">Ameba</span><span class="t">::</span><span class="t">Rule</span><span class="t">::</span><span class="t">Base</span>
|
||||
<span class="k">def</span> <span class="m">test</span>(source)
|
||||
<span class="k">end</span>
|
||||
<span class="k">end</span>
|
||||
<span class="k">end</span>
|
||||
|
||||
<span class="t">MyRule</span>.parsed_doc <span class="c"># => "This is a test rule.\nDoes nothing."</span></code></pre>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
|
@ -1370,7 +1428,7 @@ one value present.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/any_instead_of_empty.cr#L40" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/any_instead_of_empty.cr#L40" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -803,7 +803,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/base.cr#L5" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/base.cr#L5" target="_blank">
|
||||
ameba/rule/performance/base.cr
|
||||
</a>
|
||||
|
||||
|
@ -840,6 +840,25 @@
|
|||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="class-method-summary" class="anchor" href="#class-method-summary">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
<use href="#octicon-link"/>
|
||||
</svg>
|
||||
</a>
|
||||
Class Method Summary
|
||||
</h2>
|
||||
<ul class="list-summary">
|
||||
|
||||
<li class="entry-summary">
|
||||
<a href="#parsed_doc%3AString%3F-class-method" class="signature"><strong>.parsed_doc</strong> : String?</a>
|
||||
|
||||
<div class="summary"><p>Returns documentation for this rule, if there is any.</p></div>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
|
@ -939,15 +958,6 @@
|
|||
|
||||
|
||||
|
||||
<h3>Class methods inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Rule/Base.html#parsed_doc-class-method" class="tooltip">
|
||||
<span>parsed_doc</span>
|
||||
parsed_doc</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1022,7 +1032,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/base.cr#L5" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/base.cr#L5" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1030,6 +1040,45 @@
|
|||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="class-method-detail" class="anchor" href="#class-method-detail">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
<use href="#octicon-link"/>
|
||||
</svg>
|
||||
</a>
|
||||
Class Method Detail
|
||||
</h2>
|
||||
|
||||
<div class="entry-detail" id="parsed_doc:String?-class-method">
|
||||
<div class="signature">
|
||||
|
||||
def self.<strong>parsed_doc</strong> : String?
|
||||
|
||||
<a class="method-permalink" href="#parsed_doc%3AString%3F-class-method">#</a>
|
||||
</div>
|
||||
|
||||
<div class="doc">
|
||||
|
||||
<p>Returns documentation for this rule, if there is any.</p>
|
||||
<pre><code class="language-crystal"><span class="k">module</span> <span class="t">Ameba</span>
|
||||
<span class="c"># This is a test rule.</span>
|
||||
<span class="c"># Does nothing.</span>
|
||||
<span class="k">class</span> <span class="t">MyRule</span> <span class="o"><</span> <span class="t">Ameba</span><span class="t">::</span><span class="t">Rule</span><span class="t">::</span><span class="t">Base</span>
|
||||
<span class="k">def</span> <span class="m">test</span>(source)
|
||||
<span class="k">end</span>
|
||||
<span class="k">end</span>
|
||||
<span class="k">end</span>
|
||||
|
||||
<span class="t">MyRule</span>.parsed_doc <span class="c"># => "This is a test rule.\nDoes nothing."</span></code></pre>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
|
@ -1064,7 +1113,7 @@ source.valid?</code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/base.cr#L6" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/base.cr#L6" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -799,7 +799,7 @@ chars <span class="o">=</span> names
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/chained_call_with_no_bang.cr#L39" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/chained_call_with_no_bang.cr#L39" target="_blank">
|
||||
ameba/rule/performance/chained_call_with_no_bang.cr
|
||||
</a>
|
||||
|
||||
|
@ -866,6 +866,25 @@ chars <span class="o">=</span> names
|
|||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="class-method-summary" class="anchor" href="#class-method-summary">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
<use href="#octicon-link"/>
|
||||
</svg>
|
||||
</a>
|
||||
Class Method Summary
|
||||
</h2>
|
||||
<ul class="list-summary">
|
||||
|
||||
<li class="entry-summary">
|
||||
<a href="#parsed_doc%3AString%3F-class-method" class="signature"><strong>.parsed_doc</strong> : String?</a>
|
||||
|
||||
<div class="summary"><p>Returns documentation for this rule, if there is any.</p></div>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
|
@ -1071,6 +1090,15 @@ chars <span class="o">=</span> names
|
|||
|
||||
|
||||
|
||||
<h3>Class methods inherited from class <code><a href="../../../Ameba/Rule/Performance/Base.html">Ameba::Rule::Performance::Base</a></code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Rule/Performance/Base.html#parsed_doc%3AString%3F-class-method" class="tooltip">
|
||||
<span>parsed_doc : String?</span>
|
||||
parsed_doc</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1145,15 +1173,6 @@ chars <span class="o">=</span> names
|
|||
|
||||
|
||||
|
||||
<h3>Class methods inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Rule/Base.html#parsed_doc-class-method" class="tooltip">
|
||||
<span>parsed_doc</span>
|
||||
parsed_doc</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1277,7 +1296,7 @@ chars <span class="o">=</span> names
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/chained_call_with_no_bang.cr#L39" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/chained_call_with_no_bang.cr#L39" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1285,6 +1304,45 @@ chars <span class="o">=</span> names
|
|||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="class-method-detail" class="anchor" href="#class-method-detail">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
<use href="#octicon-link"/>
|
||||
</svg>
|
||||
</a>
|
||||
Class Method Detail
|
||||
</h2>
|
||||
|
||||
<div class="entry-detail" id="parsed_doc:String?-class-method">
|
||||
<div class="signature">
|
||||
|
||||
def self.<strong>parsed_doc</strong> : String?
|
||||
|
||||
<a class="method-permalink" href="#parsed_doc%3AString%3F-class-method">#</a>
|
||||
</div>
|
||||
|
||||
<div class="doc">
|
||||
|
||||
<p>Returns documentation for this rule, if there is any.</p>
|
||||
<pre><code class="language-crystal"><span class="k">module</span> <span class="t">Ameba</span>
|
||||
<span class="c"># This is a test rule.</span>
|
||||
<span class="c"># Does nothing.</span>
|
||||
<span class="k">class</span> <span class="t">MyRule</span> <span class="o"><</span> <span class="t">Ameba</span><span class="t">::</span><span class="t">Rule</span><span class="t">::</span><span class="t">Base</span>
|
||||
<span class="k">def</span> <span class="m">test</span>(source)
|
||||
<span class="k">end</span>
|
||||
<span class="k">end</span>
|
||||
<span class="k">end</span>
|
||||
|
||||
<span class="t">MyRule</span>.parsed_doc <span class="c"># => "This is a test rule.\nDoes nothing."</span></code></pre>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
|
@ -1447,7 +1505,7 @@ chars <span class="o">=</span> names
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/chained_call_with_no_bang.cr#L70" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/chained_call_with_no_bang.cr#L70" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1463,7 +1521,7 @@ chars <span class="o">=</span> names
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/chained_call_with_no_bang.cr#L61" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/chained_call_with_no_bang.cr#L61" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -782,7 +782,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/compact_after_map.cr#L24" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/compact_after_map.cr#L24" target="_blank">
|
||||
ameba/rule/performance/compact_after_map.cr
|
||||
</a>
|
||||
|
||||
|
@ -850,6 +850,25 @@
|
|||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="class-method-summary" class="anchor" href="#class-method-summary">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
<use href="#octicon-link"/>
|
||||
</svg>
|
||||
</a>
|
||||
Class Method Summary
|
||||
</h2>
|
||||
<ul class="list-summary">
|
||||
|
||||
<li class="entry-summary">
|
||||
<a href="#parsed_doc%3AString%3F-class-method" class="signature"><strong>.parsed_doc</strong> : String?</a>
|
||||
|
||||
<div class="summary"><p>Returns documentation for this rule, if there is any.</p></div>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
|
@ -966,6 +985,15 @@
|
|||
|
||||
|
||||
|
||||
<h3>Class methods inherited from class <code><a href="../../../Ameba/Rule/Performance/Base.html">Ameba::Rule::Performance::Base</a></code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Rule/Performance/Base.html#parsed_doc%3AString%3F-class-method" class="tooltip">
|
||||
<span>parsed_doc : String?</span>
|
||||
parsed_doc</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1040,15 +1068,6 @@
|
|||
|
||||
|
||||
|
||||
<h3>Class methods inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Rule/Base.html#parsed_doc-class-method" class="tooltip">
|
||||
<span>parsed_doc</span>
|
||||
parsed_doc</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1142,7 +1161,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/compact_after_map.cr#L24" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/compact_after_map.cr#L24" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1150,6 +1169,45 @@
|
|||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="class-method-detail" class="anchor" href="#class-method-detail">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
<use href="#octicon-link"/>
|
||||
</svg>
|
||||
</a>
|
||||
Class Method Detail
|
||||
</h2>
|
||||
|
||||
<div class="entry-detail" id="parsed_doc:String?-class-method">
|
||||
<div class="signature">
|
||||
|
||||
def self.<strong>parsed_doc</strong> : String?
|
||||
|
||||
<a class="method-permalink" href="#parsed_doc%3AString%3F-class-method">#</a>
|
||||
</div>
|
||||
|
||||
<div class="doc">
|
||||
|
||||
<p>Returns documentation for this rule, if there is any.</p>
|
||||
<pre><code class="language-crystal"><span class="k">module</span> <span class="t">Ameba</span>
|
||||
<span class="c"># This is a test rule.</span>
|
||||
<span class="c"># Does nothing.</span>
|
||||
<span class="k">class</span> <span class="t">MyRule</span> <span class="o"><</span> <span class="t">Ameba</span><span class="t">::</span><span class="t">Rule</span><span class="t">::</span><span class="t">Base</span>
|
||||
<span class="k">def</span> <span class="m">test</span>(source)
|
||||
<span class="k">end</span>
|
||||
<span class="k">end</span>
|
||||
<span class="k">end</span>
|
||||
|
||||
<span class="t">MyRule</span>.parsed_doc <span class="c"># => "This is a test rule.\nDoes nothing."</span></code></pre>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
|
@ -1284,7 +1342,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/compact_after_map.cr#L42" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/compact_after_map.cr#L42" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1300,7 +1358,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/compact_after_map.cr#L33" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/compact_after_map.cr#L33" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -786,7 +786,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/first_last_after_filter.cr#L28" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/first_last_after_filter.cr#L28" target="_blank">
|
||||
ameba/rule/performance/first_last_after_filter.cr
|
||||
</a>
|
||||
|
||||
|
@ -854,6 +854,25 @@
|
|||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="class-method-summary" class="anchor" href="#class-method-summary">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
<use href="#octicon-link"/>
|
||||
</svg>
|
||||
</a>
|
||||
Class Method Summary
|
||||
</h2>
|
||||
<ul class="list-summary">
|
||||
|
||||
<li class="entry-summary">
|
||||
<a href="#parsed_doc%3AString%3F-class-method" class="signature"><strong>.parsed_doc</strong> : String?</a>
|
||||
|
||||
<div class="summary"><p>Returns documentation for this rule, if there is any.</p></div>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
|
@ -980,6 +999,15 @@
|
|||
|
||||
|
||||
|
||||
<h3>Class methods inherited from class <code><a href="../../../Ameba/Rule/Performance/Base.html">Ameba::Rule::Performance::Base</a></code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Rule/Performance/Base.html#parsed_doc%3AString%3F-class-method" class="tooltip">
|
||||
<span>parsed_doc : String?</span>
|
||||
parsed_doc</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1054,15 +1082,6 @@
|
|||
|
||||
|
||||
|
||||
<h3>Class methods inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Rule/Base.html#parsed_doc-class-method" class="tooltip">
|
||||
<span>parsed_doc</span>
|
||||
parsed_doc</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1164,7 +1183,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/first_last_after_filter.cr#L28" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/first_last_after_filter.cr#L28" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1172,6 +1191,45 @@
|
|||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="class-method-detail" class="anchor" href="#class-method-detail">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
<use href="#octicon-link"/>
|
||||
</svg>
|
||||
</a>
|
||||
Class Method Detail
|
||||
</h2>
|
||||
|
||||
<div class="entry-detail" id="parsed_doc:String?-class-method">
|
||||
<div class="signature">
|
||||
|
||||
def self.<strong>parsed_doc</strong> : String?
|
||||
|
||||
<a class="method-permalink" href="#parsed_doc%3AString%3F-class-method">#</a>
|
||||
</div>
|
||||
|
||||
<div class="doc">
|
||||
|
||||
<p>Returns documentation for this rule, if there is any.</p>
|
||||
<pre><code class="language-crystal"><span class="k">module</span> <span class="t">Ameba</span>
|
||||
<span class="c"># This is a test rule.</span>
|
||||
<span class="c"># Does nothing.</span>
|
||||
<span class="k">class</span> <span class="t">MyRule</span> <span class="o"><</span> <span class="t">Ameba</span><span class="t">::</span><span class="t">Rule</span><span class="t">::</span><span class="t">Base</span>
|
||||
<span class="k">def</span> <span class="m">test</span>(source)
|
||||
<span class="k">end</span>
|
||||
<span class="k">end</span>
|
||||
<span class="k">end</span>
|
||||
|
||||
<span class="t">MyRule</span>.parsed_doc <span class="c"># => "This is a test rule.\nDoes nothing."</span></code></pre>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
|
@ -1334,7 +1392,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/first_last_after_filter.cr#L47" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/first_last_after_filter.cr#L47" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1350,7 +1408,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/first_last_after_filter.cr#L38" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/first_last_after_filter.cr#L38" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -782,7 +782,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/flatten_after_map.cr#L24" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/flatten_after_map.cr#L24" target="_blank">
|
||||
ameba/rule/performance/flatten_after_map.cr
|
||||
</a>
|
||||
|
||||
|
@ -850,6 +850,25 @@
|
|||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="class-method-summary" class="anchor" href="#class-method-summary">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
<use href="#octicon-link"/>
|
||||
</svg>
|
||||
</a>
|
||||
Class Method Summary
|
||||
</h2>
|
||||
<ul class="list-summary">
|
||||
|
||||
<li class="entry-summary">
|
||||
<a href="#parsed_doc%3AString%3F-class-method" class="signature"><strong>.parsed_doc</strong> : String?</a>
|
||||
|
||||
<div class="summary"><p>Returns documentation for this rule, if there is any.</p></div>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
|
@ -966,6 +985,15 @@
|
|||
|
||||
|
||||
|
||||
<h3>Class methods inherited from class <code><a href="../../../Ameba/Rule/Performance/Base.html">Ameba::Rule::Performance::Base</a></code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Rule/Performance/Base.html#parsed_doc%3AString%3F-class-method" class="tooltip">
|
||||
<span>parsed_doc : String?</span>
|
||||
parsed_doc</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1040,15 +1068,6 @@
|
|||
|
||||
|
||||
|
||||
<h3>Class methods inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Rule/Base.html#parsed_doc-class-method" class="tooltip">
|
||||
<span>parsed_doc</span>
|
||||
parsed_doc</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1142,7 +1161,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/flatten_after_map.cr#L24" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/flatten_after_map.cr#L24" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1150,6 +1169,45 @@
|
|||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="class-method-detail" class="anchor" href="#class-method-detail">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
<use href="#octicon-link"/>
|
||||
</svg>
|
||||
</a>
|
||||
Class Method Detail
|
||||
</h2>
|
||||
|
||||
<div class="entry-detail" id="parsed_doc:String?-class-method">
|
||||
<div class="signature">
|
||||
|
||||
def self.<strong>parsed_doc</strong> : String?
|
||||
|
||||
<a class="method-permalink" href="#parsed_doc%3AString%3F-class-method">#</a>
|
||||
</div>
|
||||
|
||||
<div class="doc">
|
||||
|
||||
<p>Returns documentation for this rule, if there is any.</p>
|
||||
<pre><code class="language-crystal"><span class="k">module</span> <span class="t">Ameba</span>
|
||||
<span class="c"># This is a test rule.</span>
|
||||
<span class="c"># Does nothing.</span>
|
||||
<span class="k">class</span> <span class="t">MyRule</span> <span class="o"><</span> <span class="t">Ameba</span><span class="t">::</span><span class="t">Rule</span><span class="t">::</span><span class="t">Base</span>
|
||||
<span class="k">def</span> <span class="m">test</span>(source)
|
||||
<span class="k">end</span>
|
||||
<span class="k">end</span>
|
||||
<span class="k">end</span>
|
||||
|
||||
<span class="t">MyRule</span>.parsed_doc <span class="c"># => "This is a test rule.\nDoes nothing."</span></code></pre>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
|
@ -1284,7 +1342,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/flatten_after_map.cr#L42" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/flatten_after_map.cr#L42" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1300,7 +1358,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/flatten_after_map.cr#L33" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/flatten_after_map.cr#L33" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -783,7 +783,7 @@ that follow <code>map</code>.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/map_instead_of_block.cr#L25" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/map_instead_of_block.cr#L25" target="_blank">
|
||||
ameba/rule/performance/map_instead_of_block.cr
|
||||
</a>
|
||||
|
||||
|
@ -851,6 +851,25 @@ that follow <code>map</code>.</p>
|
|||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="class-method-summary" class="anchor" href="#class-method-summary">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
<use href="#octicon-link"/>
|
||||
</svg>
|
||||
</a>
|
||||
Class Method Summary
|
||||
</h2>
|
||||
<ul class="list-summary">
|
||||
|
||||
<li class="entry-summary">
|
||||
<a href="#parsed_doc%3AString%3F-class-method" class="signature"><strong>.parsed_doc</strong> : String?</a>
|
||||
|
||||
<div class="summary"><p>Returns documentation for this rule, if there is any.</p></div>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
|
@ -967,6 +986,15 @@ that follow <code>map</code>.</p>
|
|||
|
||||
|
||||
|
||||
<h3>Class methods inherited from class <code><a href="../../../Ameba/Rule/Performance/Base.html">Ameba::Rule::Performance::Base</a></code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Rule/Performance/Base.html#parsed_doc%3AString%3F-class-method" class="tooltip">
|
||||
<span>parsed_doc : String?</span>
|
||||
parsed_doc</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1041,15 +1069,6 @@ that follow <code>map</code>.</p>
|
|||
|
||||
|
||||
|
||||
<h3>Class methods inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Rule/Base.html#parsed_doc-class-method" class="tooltip">
|
||||
<span>parsed_doc</span>
|
||||
parsed_doc</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1145,7 +1164,7 @@ that follow <code>map</code>.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/map_instead_of_block.cr#L25" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/map_instead_of_block.cr#L25" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1153,6 +1172,45 @@ that follow <code>map</code>.</p>
|
|||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="class-method-detail" class="anchor" href="#class-method-detail">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
<use href="#octicon-link"/>
|
||||
</svg>
|
||||
</a>
|
||||
Class Method Detail
|
||||
</h2>
|
||||
|
||||
<div class="entry-detail" id="parsed_doc:String?-class-method">
|
||||
<div class="signature">
|
||||
|
||||
def self.<strong>parsed_doc</strong> : String?
|
||||
|
||||
<a class="method-permalink" href="#parsed_doc%3AString%3F-class-method">#</a>
|
||||
</div>
|
||||
|
||||
<div class="doc">
|
||||
|
||||
<p>Returns documentation for this rule, if there is any.</p>
|
||||
<pre><code class="language-crystal"><span class="k">module</span> <span class="t">Ameba</span>
|
||||
<span class="c"># This is a test rule.</span>
|
||||
<span class="c"># Does nothing.</span>
|
||||
<span class="k">class</span> <span class="t">MyRule</span> <span class="o"><</span> <span class="t">Ameba</span><span class="t">::</span><span class="t">Rule</span><span class="t">::</span><span class="t">Base</span>
|
||||
<span class="k">def</span> <span class="m">test</span>(source)
|
||||
<span class="k">end</span>
|
||||
<span class="k">end</span>
|
||||
<span class="k">end</span>
|
||||
|
||||
<span class="t">MyRule</span>.parsed_doc <span class="c"># => "This is a test rule.\nDoes nothing."</span></code></pre>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
|
@ -1287,7 +1345,7 @@ that follow <code>map</code>.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/map_instead_of_block.cr#L43" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/map_instead_of_block.cr#L43" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1303,7 +1361,7 @@ that follow <code>map</code>.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/map_instead_of_block.cr#L34" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/map_instead_of_block.cr#L34" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -793,7 +793,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/size_after_filter.cr#L35" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/size_after_filter.cr#L35" target="_blank">
|
||||
ameba/rule/performance/size_after_filter.cr
|
||||
</a>
|
||||
|
||||
|
@ -856,6 +856,25 @@
|
|||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="class-method-summary" class="anchor" href="#class-method-summary">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
<use href="#octicon-link"/>
|
||||
</svg>
|
||||
</a>
|
||||
Class Method Summary
|
||||
</h2>
|
||||
<ul class="list-summary">
|
||||
|
||||
<li class="entry-summary">
|
||||
<a href="#parsed_doc%3AString%3F-class-method" class="signature"><strong>.parsed_doc</strong> : String?</a>
|
||||
|
||||
<div class="summary"><p>Returns documentation for this rule, if there is any.</p></div>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
|
@ -982,6 +1001,15 @@
|
|||
|
||||
|
||||
|
||||
<h3>Class methods inherited from class <code><a href="../../../Ameba/Rule/Performance/Base.html">Ameba::Rule::Performance::Base</a></code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Rule/Performance/Base.html#parsed_doc%3AString%3F-class-method" class="tooltip">
|
||||
<span>parsed_doc : String?</span>
|
||||
parsed_doc</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1056,15 +1084,6 @@
|
|||
|
||||
|
||||
|
||||
<h3>Class methods inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Rule/Base.html#parsed_doc-class-method" class="tooltip">
|
||||
<span>parsed_doc</span>
|
||||
parsed_doc</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1180,7 +1199,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/size_after_filter.cr#L35" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/size_after_filter.cr#L35" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1188,6 +1207,45 @@
|
|||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="class-method-detail" class="anchor" href="#class-method-detail">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
<use href="#octicon-link"/>
|
||||
</svg>
|
||||
</a>
|
||||
Class Method Detail
|
||||
</h2>
|
||||
|
||||
<div class="entry-detail" id="parsed_doc:String?-class-method">
|
||||
<div class="signature">
|
||||
|
||||
def self.<strong>parsed_doc</strong> : String?
|
||||
|
||||
<a class="method-permalink" href="#parsed_doc%3AString%3F-class-method">#</a>
|
||||
</div>
|
||||
|
||||
<div class="doc">
|
||||
|
||||
<p>Returns documentation for this rule, if there is any.</p>
|
||||
<pre><code class="language-crystal"><span class="k">module</span> <span class="t">Ameba</span>
|
||||
<span class="c"># This is a test rule.</span>
|
||||
<span class="c"># Does nothing.</span>
|
||||
<span class="k">class</span> <span class="t">MyRule</span> <span class="o"><</span> <span class="t">Ameba</span><span class="t">::</span><span class="t">Rule</span><span class="t">::</span><span class="t">Base</span>
|
||||
<span class="k">def</span> <span class="m">test</span>(source)
|
||||
<span class="k">end</span>
|
||||
<span class="k">end</span>
|
||||
<span class="k">end</span>
|
||||
|
||||
<span class="t">MyRule</span>.parsed_doc <span class="c"># => "This is a test rule.\nDoes nothing."</span></code></pre>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
|
@ -1350,7 +1408,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/size_after_filter.cr#L53" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/size_after_filter.cr#L53" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1366,7 +1424,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/size_after_filter.cr#L44" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/size_after_filter.cr#L44" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue