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
|
@ -898,7 +898,7 @@ that are tested by this rule, it should add an issue.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/base.cr#L29" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/base.cr#L29" target="_blank">
|
||||
ameba/rule/base.cr
|
||||
</a>
|
||||
|
||||
|
@ -911,25 +911,6 @@ that are tested by this rule, it should add an issue.</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-class-method" class="signature"><strong>.parsed_doc</strong></a>
|
||||
|
||||
<div class="summary"><p>Returns documentation for this rule if any.</p></div>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
|
@ -1063,47 +1044,6 @@ that are tested by this rule, it should add an issue.</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-class-method">
|
||||
<div class="signature">
|
||||
|
||||
def self.<strong>parsed_doc</strong>
|
||||
|
||||
<a class="method-permalink" href="#parsed_doc-class-method">#</a>
|
||||
</div>
|
||||
|
||||
<div class="doc">
|
||||
|
||||
<p>Returns documentation for this rule if 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>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/base.cr#L161" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
|
@ -1135,7 +1075,7 @@ that are tested by this rule, it should add an issue.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/base.cr#L107" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/base.cr#L107" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1159,7 +1099,7 @@ source.valid?</code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/base.cr#L52" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/base.cr#L52" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1183,7 +1123,7 @@ the one of the given source.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/base.cr#L90" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/base.cr#L90" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1209,7 +1149,7 @@ the one of the given source.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/base.cr#L79" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/base.cr#L79" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1239,7 +1179,7 @@ though usually the macro <code>def_hash</code> can be used to generate this meth
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/base.cr#L111" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/base.cr#L111" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1266,7 +1206,7 @@ though usually the macro <code>def_hash</code> can be used to generate this meth
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/base.cr#L66" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/base.cr#L66" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1289,7 +1229,7 @@ usual rules.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/base.cr#L103" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/base.cr#L103" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1305,7 +1245,7 @@ usual rules.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/base.cr#L41" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/base.cr#L41" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1329,7 +1269,7 @@ Must be overriten for other type of rules.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/base.cr#L37" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/base.cr#L37" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1357,7 +1297,7 @@ Must be overriten for other type of rules.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/base.cr#L115" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/base.cr#L115" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -746,21 +746,21 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/layout/line_length.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/layout/line_length.cr#L1" target="_blank">
|
||||
ameba/rule/layout/line_length.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/layout/trailing_blank_lines.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/layout/trailing_blank_lines.cr#L1" target="_blank">
|
||||
ameba/rule/layout/trailing_blank_lines.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/layout/trailing_whitespace.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/layout/trailing_whitespace.cr#L1" target="_blank">
|
||||
ameba/rule/layout/trailing_whitespace.cr
|
||||
</a>
|
||||
|
||||
|
|
|
@ -779,7 +779,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/layout/line_length.cr#L11" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/layout/line_length.cr#L11" target="_blank">
|
||||
ameba/rule/layout/line_length.cr
|
||||
</a>
|
||||
|
||||
|
@ -835,6 +835,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,15 +1001,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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1069,7 +1079,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/layout/line_length.cr#L11" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/layout/line_length.cr#L11" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1077,6 +1087,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>
|
||||
|
@ -1239,7 +1288,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/layout/line_length.cr#L20" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/layout/line_length.cr#L20" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -778,7 +778,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/layout/trailing_blank_lines.cr#L10" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/layout/trailing_blank_lines.cr#L10" target="_blank">
|
||||
ameba/rule/layout/trailing_blank_lines.cr
|
||||
</a>
|
||||
|
||||
|
@ -839,6 +839,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>
|
||||
|
@ -976,15 +995,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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1062,7 +1072,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/layout/trailing_blank_lines.cr#L10" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/layout/trailing_blank_lines.cr#L10" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1070,6 +1080,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>
|
||||
|
@ -1204,7 +1253,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/layout/trailing_blank_lines.cr#L18" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/layout/trailing_blank_lines.cr#L18" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -778,7 +778,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/layout/trailing_whitespace.cr#L10" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/layout/trailing_whitespace.cr#L10" target="_blank">
|
||||
ameba/rule/layout/trailing_whitespace.cr
|
||||
</a>
|
||||
|
||||
|
@ -834,6 +834,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,15 +990,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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1057,7 +1067,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/layout/trailing_whitespace.cr#L10" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/layout/trailing_whitespace.cr#L10" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1065,6 +1075,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>
|
||||
|
@ -1199,7 +1248,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/layout/trailing_whitespace.cr#L17" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/layout/trailing_whitespace.cr#L17" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -746,196 +746,196 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/ambiguous_assignment.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/ambiguous_assignment.cr#L1" target="_blank">
|
||||
ameba/rule/lint/ambiguous_assignment.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/bad_directive.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/bad_directive.cr#L1" target="_blank">
|
||||
ameba/rule/lint/bad_directive.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/comparison_to_boolean.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/comparison_to_boolean.cr#L1" target="_blank">
|
||||
ameba/rule/lint/comparison_to_boolean.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/debug_calls.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/debug_calls.cr#L1" target="_blank">
|
||||
ameba/rule/lint/debug_calls.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/debugger_statement.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/debugger_statement.cr#L1" target="_blank">
|
||||
ameba/rule/lint/debugger_statement.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/duplicated_require.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/duplicated_require.cr#L1" target="_blank">
|
||||
ameba/rule/lint/duplicated_require.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/empty_ensure.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/empty_ensure.cr#L1" target="_blank">
|
||||
ameba/rule/lint/empty_ensure.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/empty_expression.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/empty_expression.cr#L1" target="_blank">
|
||||
ameba/rule/lint/empty_expression.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/empty_loop.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/empty_loop.cr#L1" target="_blank">
|
||||
ameba/rule/lint/empty_loop.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/hash_duplicated_key.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/hash_duplicated_key.cr#L1" target="_blank">
|
||||
ameba/rule/lint/hash_duplicated_key.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/literal_in_condition.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/literal_in_condition.cr#L1" target="_blank">
|
||||
ameba/rule/lint/literal_in_condition.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/literal_in_interpolation.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/literal_in_interpolation.cr#L1" target="_blank">
|
||||
ameba/rule/lint/literal_in_interpolation.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/percent_array.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/percent_array.cr#L1" target="_blank">
|
||||
ameba/rule/lint/percent_array.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/rand_zero.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/rand_zero.cr#L1" target="_blank">
|
||||
ameba/rule/lint/rand_zero.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/redundant_string_coercion.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/redundant_string_coercion.cr#L1" target="_blank">
|
||||
ameba/rule/lint/redundant_string_coercion.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/redundant_with_index.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/redundant_with_index.cr#L1" target="_blank">
|
||||
ameba/rule/lint/redundant_with_index.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/redundant_with_object.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/redundant_with_object.cr#L1" target="_blank">
|
||||
ameba/rule/lint/redundant_with_object.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/shadowed_argument.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/shadowed_argument.cr#L1" target="_blank">
|
||||
ameba/rule/lint/shadowed_argument.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/shadowed_exception.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/shadowed_exception.cr#L1" target="_blank">
|
||||
ameba/rule/lint/shadowed_exception.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/shadowing_outer_local_var.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/shadowing_outer_local_var.cr#L1" target="_blank">
|
||||
ameba/rule/lint/shadowing_outer_local_var.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/shared_var_in_fiber.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/shared_var_in_fiber.cr#L1" target="_blank">
|
||||
ameba/rule/lint/shared_var_in_fiber.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/spec_focus.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/spec_focus.cr#L1" target="_blank">
|
||||
ameba/rule/lint/spec_focus.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/syntax.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/syntax.cr#L1" target="_blank">
|
||||
ameba/rule/lint/syntax.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/unneeded_disable_directive.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/unneeded_disable_directive.cr#L1" target="_blank">
|
||||
ameba/rule/lint/unneeded_disable_directive.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/unreachable_code.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/unreachable_code.cr#L1" target="_blank">
|
||||
ameba/rule/lint/unreachable_code.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/unused_argument.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/unused_argument.cr#L1" target="_blank">
|
||||
ameba/rule/lint/unused_argument.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/useless_assign.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/useless_assign.cr#L1" target="_blank">
|
||||
ameba/rule/lint/useless_assign.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/useless_condition_in_when.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/useless_condition_in_when.cr#L1" target="_blank">
|
||||
ameba/rule/lint/useless_condition_in_when.cr
|
||||
</a>
|
||||
|
||||
|
|
|
@ -789,7 +789,7 @@ x <span class="o">!=</span> y <span class="c"># or x = !y</span></code></pre>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/ambiguous_assignment.cr#L20" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/ambiguous_assignment.cr#L20" target="_blank">
|
||||
ameba/rule/lint/ambiguous_assignment.cr
|
||||
</a>
|
||||
|
||||
|
@ -850,6 +850,25 @@ x <span class="o">!=</span> y <span class="c"># or x = !y</span></code></pre>
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
@ -1066,15 +1085,6 @@ x <span class="o">!=</span> y <span class="c"># or x = !y</span></code></pre>
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1161,7 +1171,7 @@ x <span class="o">!=</span> y <span class="c"># or x = !y</span></code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/ambiguous_assignment.cr#L20" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/ambiguous_assignment.cr#L20" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1169,6 +1179,45 @@ x <span class="o">!=</span> y <span class="c"># or x = !y</span></code></pre>
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
@ -1303,7 +1352,7 @@ x <span class="o">!=</span> y <span class="c"># or x = !y</span></code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/ambiguous_assignment.cr#L35" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/ambiguous_assignment.cr#L35" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -784,7 +784,7 @@ to disable a rule that even doesn't exist:</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/bad_directive.cr#L20" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/bad_directive.cr#L20" target="_blank">
|
||||
ameba/rule/lint/bad_directive.cr
|
||||
</a>
|
||||
|
||||
|
@ -850,6 +850,25 @@ to disable a rule that even doesn't exist:</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>
|
||||
|
@ -987,15 +1006,6 @@ to disable a rule that even doesn't exist:</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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1079,7 +1089,7 @@ to disable a rule that even doesn't exist:</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/bad_directive.cr#L20" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/bad_directive.cr#L20" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1087,6 +1097,45 @@ to disable a rule that even doesn't exist:</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>
|
||||
|
@ -1221,7 +1270,7 @@ to disable a rule that even doesn't exist:</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/bad_directive.cr#L29" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/bad_directive.cr#L29" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -787,7 +787,7 @@ or negating the variable.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/comparison_to_boolean.cr#L22" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/comparison_to_boolean.cr#L22" target="_blank">
|
||||
ameba/rule/lint/comparison_to_boolean.cr
|
||||
</a>
|
||||
|
||||
|
@ -848,6 +848,25 @@ or negating the variable.</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>
|
||||
|
@ -1064,15 +1083,6 @@ or negating the variable.</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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1157,7 +1167,7 @@ or negating the variable.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/comparison_to_boolean.cr#L22" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/comparison_to_boolean.cr#L22" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1165,6 +1175,45 @@ or negating the variable.</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>
|
||||
|
@ -1299,7 +1348,7 @@ or negating the variable.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/comparison_to_boolean.cr#L33" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/comparison_to_boolean.cr#L33" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -785,7 +785,7 @@ committed into our codebase.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/debug_calls.cr#L18" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/debug_calls.cr#L18" target="_blank">
|
||||
ameba/rule/lint/debug_calls.cr
|
||||
</a>
|
||||
|
||||
|
@ -841,6 +841,25 @@ committed into our codebase.</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>
|
||||
|
@ -988,15 +1007,6 @@ committed into our codebase.</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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1081,7 +1091,7 @@ committed into our codebase.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/debug_calls.cr#L18" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/debug_calls.cr#L18" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1089,6 +1099,45 @@ committed into our codebase.</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>
|
||||
|
@ -1251,7 +1300,7 @@ committed into our codebase.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/debug_calls.cr#L26" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/debug_calls.cr#L26" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -780,7 +780,7 @@ committed into our codebase.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/debugger_statement.cr#L13" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/debugger_statement.cr#L13" target="_blank">
|
||||
ameba/rule/lint/debugger_statement.cr
|
||||
</a>
|
||||
|
||||
|
@ -836,6 +836,25 @@ committed into our codebase.</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>
|
||||
|
@ -973,15 +992,6 @@ committed into our codebase.</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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1061,7 +1071,7 @@ committed into our codebase.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/debugger_statement.cr#L13" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/debugger_statement.cr#L13" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1069,6 +1079,45 @@ committed into our codebase.</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>
|
||||
|
@ -1203,7 +1252,7 @@ committed into our codebase.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/debugger_statement.cr#L20" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/debugger_statement.cr#L20" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -781,7 +781,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/duplicated_require.cr#L16" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/duplicated_require.cr#L16" target="_blank">
|
||||
ameba/rule/lint/duplicated_require.cr
|
||||
</a>
|
||||
|
||||
|
@ -837,6 +837,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>
|
||||
|
@ -974,15 +993,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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1063,7 +1073,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/duplicated_require.cr#L16" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/duplicated_require.cr#L16" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1071,6 +1081,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>
|
||||
|
@ -1205,7 +1254,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/duplicated_require.cr#L23" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/duplicated_require.cr#L23" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -800,7 +800,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/empty_ensure.cr#L41" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/empty_ensure.cr#L41" target="_blank">
|
||||
ameba/rule/lint/empty_ensure.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>
|
||||
|
@ -993,15 +1012,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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1101,7 +1111,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/empty_ensure.cr#L41" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/empty_ensure.cr#L41" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1109,6 +1119,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>
|
||||
|
@ -1243,7 +1292,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/empty_ensure.cr#L48" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/empty_ensure.cr#L48" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -792,7 +792,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/empty_expression.cr#L30" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/empty_expression.cr#L30" target="_blank">
|
||||
ameba/rule/lint/empty_expression.cr
|
||||
</a>
|
||||
|
||||
|
@ -853,6 +853,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>
|
||||
|
@ -1074,15 +1093,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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1172,7 +1182,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/empty_expression.cr#L30" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/empty_expression.cr#L30" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1180,6 +1190,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>
|
||||
|
@ -1314,7 +1363,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/empty_expression.cr#L41" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/empty_expression.cr#L41" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1330,7 +1379,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/empty_expression.cr#L48" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/empty_expression.cr#L48" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -802,7 +802,7 @@ loop <span class="k">do</span>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/empty_loop.cr#L40" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/empty_loop.cr#L40" target="_blank">
|
||||
ameba/rule/lint/empty_loop.cr
|
||||
</a>
|
||||
|
||||
|
@ -858,6 +858,25 @@ loop <span class="k">do</span>
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
@ -1084,15 +1103,6 @@ loop <span class="k">do</span>
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1192,7 +1202,7 @@ loop <span class="k">do</span>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/empty_loop.cr#L40" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/empty_loop.cr#L40" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1200,6 +1210,45 @@ loop <span class="k">do</span>
|
|||
|
||||
|
||||
|
||||
<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 +1383,7 @@ loop <span class="k">do</span>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/empty_loop.cr#L49" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/empty_loop.cr#L49" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1350,7 +1399,7 @@ loop <span class="k">do</span>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/empty_loop.cr#L55" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/empty_loop.cr#L55" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1366,7 +1415,7 @@ loop <span class="k">do</span>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/empty_loop.cr#L59" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/empty_loop.cr#L59" 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/lint/hash_duplicated_key.cr#L22" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/hash_duplicated_key.cr#L22" target="_blank">
|
||||
ameba/rule/lint/hash_duplicated_key.cr
|
||||
</a>
|
||||
|
||||
|
@ -838,6 +838,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>
|
||||
|
@ -975,15 +994,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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1065,7 +1075,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/hash_duplicated_key.cr#L22" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/hash_duplicated_key.cr#L22" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1073,6 +1083,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>
|
||||
|
@ -1207,7 +1256,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/hash_duplicated_key.cr#L29" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/hash_duplicated_key.cr#L29" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -788,7 +788,7 @@ replaced with either the body of the construct, or deleted entirely.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/literal_in_condition.cr#L22" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/literal_in_condition.cr#L22" target="_blank">
|
||||
ameba/rule/lint/literal_in_condition.cr
|
||||
</a>
|
||||
|
||||
|
@ -844,6 +844,25 @@ replaced with either the body of the construct, or deleted entirely.</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>
|
||||
|
@ -1075,15 +1094,6 @@ replaced with either the body of the construct, or deleted entirely.</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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1169,7 +1179,7 @@ replaced with either the body of the construct, or deleted entirely.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/literal_in_condition.cr#L22" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/literal_in_condition.cr#L22" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1177,6 +1187,45 @@ replaced with either the body of the construct, or deleted entirely.</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>
|
||||
|
@ -1199,7 +1248,7 @@ replaced with either the body of the construct, or deleted entirely.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/literal_in_condition.cr#L32" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/literal_in_condition.cr#L32" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1327,7 +1376,7 @@ replaced with either the body of the construct, or deleted entirely.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/literal_in_condition.cr#L36" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/literal_in_condition.cr#L36" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1343,7 +1392,7 @@ replaced with either the body of the construct, or deleted entirely.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/literal_in_condition.cr#L40" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/literal_in_condition.cr#L40" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1359,7 +1408,7 @@ replaced with either the body of the construct, or deleted entirely.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/literal_in_condition.cr#L44" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/literal_in_condition.cr#L44" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -784,7 +784,7 @@ that contain a literal value instead of a variable or function.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/literal_in_interpolation.cr#L18" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/literal_in_interpolation.cr#L18" target="_blank">
|
||||
ameba/rule/lint/literal_in_interpolation.cr
|
||||
</a>
|
||||
|
||||
|
@ -840,6 +840,25 @@ that contain a literal value instead of a variable or function.</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>
|
||||
|
@ -1056,15 +1075,6 @@ that contain a literal value instead of a variable or function.</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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1146,7 +1156,7 @@ that contain a literal value instead of a variable or function.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/literal_in_interpolation.cr#L18" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/literal_in_interpolation.cr#L18" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1154,6 +1164,45 @@ that contain a literal value instead of a variable or function.</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>
|
||||
|
@ -1288,7 +1337,7 @@ that contain a literal value instead of a variable or function.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/literal_in_interpolation.cr#L27" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/literal_in_interpolation.cr#L27" 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/lint/percent_array.cr#L26" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/percent_array.cr#L26" target="_blank">
|
||||
ameba/rule/lint/percent_array.cr
|
||||
</a>
|
||||
|
||||
|
@ -842,6 +842,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>
|
||||
|
@ -999,15 +1018,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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1093,7 +1103,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/percent_array.cr#L26" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/percent_array.cr#L26" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1101,6 +1111,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>
|
||||
|
@ -1291,7 +1340,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/percent_array.cr#L36" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/percent_array.cr#L36" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -785,7 +785,7 @@ rand(<span class="n">2</span>)</code></pre>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/rand_zero.cr#L25" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/rand_zero.cr#L25" target="_blank">
|
||||
ameba/rule/lint/rand_zero.cr
|
||||
</a>
|
||||
|
||||
|
@ -841,6 +841,25 @@ rand(<span class="n">2</span>)</code></pre>
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
@ -978,15 +997,6 @@ rand(<span class="n">2</span>)</code></pre>
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1071,7 +1081,7 @@ rand(<span class="n">2</span>)</code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/rand_zero.cr#L25" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/rand_zero.cr#L25" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1079,6 +1089,45 @@ rand(<span class="n">2</span>)</code></pre>
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
@ -1213,7 +1262,7 @@ rand(<span class="n">2</span>)</code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/rand_zero.cr#L32" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/rand_zero.cr#L32" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -785,7 +785,7 @@ which is redundant.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/redundant_string_coercion.cr#L23" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/redundant_string_coercion.cr#L23" target="_blank">
|
||||
ameba/rule/lint/redundant_string_coercion.cr
|
||||
</a>
|
||||
|
||||
|
@ -841,6 +841,25 @@ which is redundant.</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>
|
||||
|
@ -1057,15 +1076,6 @@ which is redundant.</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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1148,7 +1158,7 @@ which is redundant.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/redundant_string_coercion.cr#L23" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/redundant_string_coercion.cr#L23" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1156,6 +1166,45 @@ which is redundant.</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>
|
||||
|
@ -1290,7 +1339,7 @@ which is redundant.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/redundant_string_coercion.cr#L32" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/redundant_string_coercion.cr#L32" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -790,7 +790,7 @@ collection.each_with_index <span class="k">do</span> <span class="o">|</span>e,
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/redundant_with_index.cr#L29" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/redundant_with_index.cr#L29" target="_blank">
|
||||
ameba/rule/lint/redundant_with_index.cr
|
||||
</a>
|
||||
|
||||
|
@ -827,6 +827,25 @@ collection.each_with_index <span class="k">do</span> <span class="o">|</span>e,
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
@ -964,15 +983,6 @@ collection.each_with_index <span class="k">do</span> <span class="o">|</span>e,
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1062,7 +1072,7 @@ collection.each_with_index <span class="k">do</span> <span class="o">|</span>e,
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/redundant_with_index.cr#L29" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/redundant_with_index.cr#L29" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1070,6 +1080,45 @@ collection.each_with_index <span class="k">do</span> <span class="o">|</span>e,
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
@ -1204,7 +1253,7 @@ collection.each_with_index <span class="k">do</span> <span class="o">|</span>e,
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/redundant_with_index.cr#L34" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/redundant_with_index.cr#L34" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -790,7 +790,7 @@ collection.each_with_object(<span class="n">0</span>) <span class="k">do</span>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/redundant_with_object.cr#L30" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/redundant_with_object.cr#L30" target="_blank">
|
||||
ameba/rule/lint/redundant_with_object.cr
|
||||
</a>
|
||||
|
||||
|
@ -846,6 +846,25 @@ collection.each_with_object(<span class="n">0</span>) <span class="k">do</span>
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
@ -983,15 +1002,6 @@ collection.each_with_object(<span class="n">0</span>) <span class="k">do</span>
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1081,7 +1091,7 @@ collection.each_with_object(<span class="n">0</span>) <span class="k">do</span>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/redundant_with_object.cr#L30" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/redundant_with_object.cr#L30" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1089,6 +1099,45 @@ collection.each_with_object(<span class="n">0</span>) <span class="k">do</span>
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
@ -1223,7 +1272,7 @@ collection.each_with_object(<span class="n">0</span>) <span class="k">do</span>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/redundant_with_object.cr#L37" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/redundant_with_object.cr#L37" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -798,7 +798,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/shadowed_argument.cr#L38" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/shadowed_argument.cr#L38" target="_blank">
|
||||
ameba/rule/lint/shadowed_argument.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>
|
||||
|
@ -996,15 +1015,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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1102,7 +1112,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/shadowed_argument.cr#L38" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/shadowed_argument.cr#L38" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1110,6 +1120,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>
|
||||
|
@ -1244,7 +1293,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/shadowed_argument.cr#L49" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/shadowed_argument.cr#L49" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1260,7 +1309,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/shadowed_argument.cr#L45" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/shadowed_argument.cr#L45" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -796,7 +796,7 @@ exception is rescued.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/shadowed_exception.cr#L36" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/shadowed_exception.cr#L36" target="_blank">
|
||||
ameba/rule/lint/shadowed_exception.cr
|
||||
</a>
|
||||
|
||||
|
@ -852,6 +852,25 @@ exception is rescued.</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>
|
||||
|
@ -989,15 +1008,6 @@ exception is rescued.</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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1093,7 +1103,7 @@ exception is rescued.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/shadowed_exception.cr#L36" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/shadowed_exception.cr#L36" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1101,6 +1111,45 @@ exception is rescued.</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>
|
||||
|
@ -1235,7 +1284,7 @@ exception is rescued.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/shadowed_exception.cr#L43" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/shadowed_exception.cr#L43" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -793,7 +793,7 @@ for block or proc arguments.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/shadowing_outer_local_var.cr#L33" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/shadowing_outer_local_var.cr#L33" target="_blank">
|
||||
ameba/rule/lint/shadowing_outer_local_var.cr
|
||||
</a>
|
||||
|
||||
|
@ -849,6 +849,25 @@ for block or proc arguments.</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>
|
||||
|
@ -996,15 +1015,6 @@ for block or proc arguments.</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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1097,7 +1107,7 @@ for block or proc arguments.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/shadowing_outer_local_var.cr#L33" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/shadowing_outer_local_var.cr#L33" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1105,6 +1115,45 @@ for block or proc arguments.</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>
|
||||
|
@ -1239,7 +1288,7 @@ for block or proc arguments.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/shadowing_outer_local_var.cr#L48" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/shadowing_outer_local_var.cr#L48" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1255,7 +1304,7 @@ for block or proc arguments.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/shadowing_outer_local_var.cr#L52" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/shadowing_outer_local_var.cr#L52" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1271,7 +1320,7 @@ for block or proc arguments.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/shadowing_outer_local_var.cr#L41" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/shadowing_outer_local_var.cr#L41" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -808,7 +808,7 @@ the second one.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/shared_var_in_fiber.cr#L52" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/shared_var_in_fiber.cr#L52" target="_blank">
|
||||
ameba/rule/lint/shared_var_in_fiber.cr
|
||||
</a>
|
||||
|
||||
|
@ -864,6 +864,25 @@ the second one.</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>
|
||||
|
@ -1006,15 +1025,6 @@ the second one.</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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1122,7 +1132,7 @@ the second one.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/shared_var_in_fiber.cr#L52" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/shared_var_in_fiber.cr#L52" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1130,6 +1140,45 @@ the second one.</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>
|
||||
|
@ -1264,7 +1313,7 @@ the second one.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/shared_var_in_fiber.cr#L63" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/shared_var_in_fiber.cr#L63" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1280,7 +1329,7 @@ the second one.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/shared_var_in_fiber.cr#L59" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/shared_var_in_fiber.cr#L59" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -806,7 +806,7 @@ it <span class="s">"works"</span> <span class="k">do</span>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/spec_focus.cr#L47" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/spec_focus.cr#L47" target="_blank">
|
||||
ameba/rule/lint/spec_focus.cr
|
||||
</a>
|
||||
|
||||
|
@ -867,6 +867,25 @@ it <span class="s">"works"</span> <span class="k">do</span>
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
@ -1009,15 +1028,6 @@ it <span class="s">"works"</span> <span class="k">do</span>
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1123,7 +1133,7 @@ it <span class="s">"works"</span> <span class="k">do</span>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/spec_focus.cr#L47" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/spec_focus.cr#L47" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1131,6 +1141,45 @@ it <span class="s">"works"</span> <span class="k">do</span>
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
@ -1265,7 +1314,7 @@ it <span class="s">"works"</span> <span class="k">do</span>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/spec_focus.cr#L61" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/spec_focus.cr#L61" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1281,7 +1330,7 @@ it <span class="s">"works"</span> <span class="k">do</span>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/spec_focus.cr#L55" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/spec_focus.cr#L55" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -785,7 +785,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/syntax.cr#L21" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/syntax.cr#L21" target="_blank">
|
||||
ameba/rule/lint/syntax.cr
|
||||
</a>
|
||||
|
||||
|
@ -822,6 +822,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>
|
||||
|
@ -959,15 +978,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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1052,7 +1062,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/syntax.cr#L21" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/syntax.cr#L21" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1060,6 +1070,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>
|
||||
|
@ -1194,7 +1243,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/syntax.cr#L27" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/syntax.cr#L27" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -788,7 +788,7 @@ have any effect, the snippet should be written as the following:</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/unneeded_disable_directive.cr#L27" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/unneeded_disable_directive.cr#L27" target="_blank">
|
||||
ameba/rule/lint/unneeded_disable_directive.cr
|
||||
</a>
|
||||
|
||||
|
@ -844,6 +844,25 @@ have any effect, the snippet should be written as the following:</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>
|
||||
|
@ -981,15 +1000,6 @@ have any effect, the snippet should be written as the following:</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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1077,7 +1087,7 @@ have any effect, the snippet should be written as the following:</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/unneeded_disable_directive.cr#L27" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/unneeded_disable_directive.cr#L27" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1085,6 +1095,45 @@ have any effect, the snippet should be written as the following:</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>
|
||||
|
@ -1219,7 +1268,7 @@ have any effect, the snippet should be written as the following:</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/unneeded_disable_directive.cr#L34" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/unneeded_disable_directive.cr#L34" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -800,7 +800,7 @@ loop <span class="k">do</span>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/unreachable_code.cr#L44" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/unreachable_code.cr#L44" target="_blank">
|
||||
ameba/rule/lint/unreachable_code.cr
|
||||
</a>
|
||||
|
||||
|
@ -856,6 +856,25 @@ loop <span class="k">do</span>
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
@ -1077,15 +1096,6 @@ loop <span class="k">do</span>
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1183,7 +1193,7 @@ loop <span class="k">do</span>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/unreachable_code.cr#L44" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/unreachable_code.cr#L44" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1191,6 +1201,45 @@ loop <span class="k">do</span>
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
@ -1325,7 +1374,7 @@ loop <span class="k">do</span>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/unreachable_code.cr#L57" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/unreachable_code.cr#L57" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1341,7 +1390,7 @@ loop <span class="k">do</span>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/unreachable_code.cr#L53" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/unreachable_code.cr#L53" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -789,7 +789,7 @@ For example, this is considered invalid:</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/unused_argument.cr#L27" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/unused_argument.cr#L27" target="_blank">
|
||||
ameba/rule/lint/unused_argument.cr
|
||||
</a>
|
||||
|
||||
|
@ -845,6 +845,25 @@ For example, this is considered invalid:</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>
|
||||
|
@ -1027,15 +1046,6 @@ For example, this is considered invalid:</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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1124,7 +1134,7 @@ For example, this is considered invalid:</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/unused_argument.cr#L27" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/unused_argument.cr#L27" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1132,6 +1142,45 @@ For example, this is considered invalid:</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>
|
||||
|
@ -1350,7 +1399,7 @@ For example, this is considered invalid:</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/unused_argument.cr#L43" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/unused_argument.cr#L43" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1366,7 +1415,7 @@ For example, this is considered invalid:</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/unused_argument.cr#L47" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/unused_argument.cr#L47" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1382,7 +1431,7 @@ For example, this is considered invalid:</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/unused_argument.cr#L51" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/unused_argument.cr#L51" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1398,7 +1447,7 @@ For example, this is considered invalid:</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/unused_argument.cr#L39" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/unused_argument.cr#L39" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -788,7 +788,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/useless_assign.cr#L28" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/useless_assign.cr#L28" target="_blank">
|
||||
ameba/rule/lint/useless_assign.cr
|
||||
</a>
|
||||
|
||||
|
@ -844,6 +844,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>
|
||||
|
@ -986,15 +1005,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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1082,7 +1092,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/useless_assign.cr#L28" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/useless_assign.cr#L28" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1090,6 +1100,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>
|
||||
|
@ -1224,7 +1273,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/useless_assign.cr#L39" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/useless_assign.cr#L39" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1240,7 +1289,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/useless_assign.cr#L35" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/useless_assign.cr#L35" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -793,7 +793,7 @@ where it is guaranteed to always return the same result.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/useless_condition_in_when.cr#L33" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/useless_condition_in_when.cr#L33" target="_blank">
|
||||
ameba/rule/lint/useless_condition_in_when.cr
|
||||
</a>
|
||||
|
||||
|
@ -849,6 +849,25 @@ where it is guaranteed to always return the same result.</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>
|
||||
|
@ -986,15 +1005,6 @@ where it is guaranteed to always return the same result.</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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1087,7 +1097,7 @@ where it is guaranteed to always return the same result.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/useless_condition_in_when.cr#L33" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/useless_condition_in_when.cr#L33" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1095,6 +1105,45 @@ where it is guaranteed to always return the same result.</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>
|
||||
|
@ -1229,7 +1278,7 @@ where it is guaranteed to always return the same result.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/lint/useless_condition_in_when.cr#L50" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/lint/useless_condition_in_when.cr#L50" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -746,7 +746,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/metrics/cyclomatic_complexity.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/metrics/cyclomatic_complexity.cr#L1" target="_blank">
|
||||
ameba/rule/metrics/cyclomatic_complexity.cr
|
||||
</a>
|
||||
|
||||
|
|
|
@ -781,7 +781,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/metrics/cyclomatic_complexity.cr#L11" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/metrics/cyclomatic_complexity.cr#L11" target="_blank">
|
||||
ameba/rule/metrics/cyclomatic_complexity.cr
|
||||
</a>
|
||||
|
||||
|
@ -837,6 +837,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>
|
||||
|
@ -1063,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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1150,7 +1160,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/metrics/cyclomatic_complexity.cr#L11" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/metrics/cyclomatic_complexity.cr#L11" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1158,6 +1168,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>
|
||||
|
@ -1320,7 +1369,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/metrics/cyclomatic_complexity.cr#L21" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/metrics/cyclomatic_complexity.cr#L21" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -746,63 +746,63 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/any_after_filter.cr#L3" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/any_after_filter.cr#L3" target="_blank">
|
||||
ameba/rule/performance/any_after_filter.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/any_instead_of_empty.cr#L3" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/any_instead_of_empty.cr#L3" target="_blank">
|
||||
ameba/rule/performance/any_instead_of_empty.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/base.cr#L3" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/base.cr#L3" target="_blank">
|
||||
ameba/rule/performance/base.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/chained_call_with_no_bang.cr#L3" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/chained_call_with_no_bang.cr#L3" target="_blank">
|
||||
ameba/rule/performance/chained_call_with_no_bang.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/compact_after_map.cr#L3" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/compact_after_map.cr#L3" target="_blank">
|
||||
ameba/rule/performance/compact_after_map.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/first_last_after_filter.cr#L3" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/first_last_after_filter.cr#L3" target="_blank">
|
||||
ameba/rule/performance/first_last_after_filter.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/flatten_after_map.cr#L3" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/flatten_after_map.cr#L3" target="_blank">
|
||||
ameba/rule/performance/flatten_after_map.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/map_instead_of_block.cr#L3" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/map_instead_of_block.cr#L3" target="_blank">
|
||||
ameba/rule/performance/map_instead_of_block.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/performance/size_after_filter.cr#L3" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/performance/size_after_filter.cr#L3" target="_blank">
|
||||
ameba/rule/performance/size_after_filter.cr
|
||||
</a>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -746,112 +746,112 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/constant_names.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/constant_names.cr#L1" target="_blank">
|
||||
ameba/rule/style/constant_names.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/guard_clause.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/guard_clause.cr#L1" target="_blank">
|
||||
ameba/rule/style/guard_clause.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/is_a_filter.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/is_a_filter.cr#L1" target="_blank">
|
||||
ameba/rule/style/is_a_filter.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/is_a_nil.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/is_a_nil.cr#L1" target="_blank">
|
||||
ameba/rule/style/is_a_nil.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/large_numbers.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/large_numbers.cr#L1" target="_blank">
|
||||
ameba/rule/style/large_numbers.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/method_names.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/method_names.cr#L1" target="_blank">
|
||||
ameba/rule/style/method_names.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/negated_conditions_in_unless.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/negated_conditions_in_unless.cr#L1" target="_blank">
|
||||
ameba/rule/style/negated_conditions_in_unless.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/predicate_name.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/predicate_name.cr#L1" target="_blank">
|
||||
ameba/rule/style/predicate_name.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/redundant_begin.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/redundant_begin.cr#L1" target="_blank">
|
||||
ameba/rule/style/redundant_begin.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/redundant_next.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/redundant_next.cr#L1" target="_blank">
|
||||
ameba/rule/style/redundant_next.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/redundant_return.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/redundant_return.cr#L1" target="_blank">
|
||||
ameba/rule/style/redundant_return.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/type_names.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/type_names.cr#L1" target="_blank">
|
||||
ameba/rule/style/type_names.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/unless_else.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/unless_else.cr#L1" target="_blank">
|
||||
ameba/rule/style/unless_else.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/variable_names.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/variable_names.cr#L1" target="_blank">
|
||||
ameba/rule/style/variable_names.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/verbose_block.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/verbose_block.cr#L1" target="_blank">
|
||||
ameba/rule/style/verbose_block.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/while_true.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/while_true.cr#L1" target="_blank">
|
||||
ameba/rule/style/while_true.cr
|
||||
</a>
|
||||
|
||||
|
|
|
@ -784,7 +784,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/constant_names.cr#L24" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/constant_names.cr#L24" target="_blank">
|
||||
ameba/rule/style/constant_names.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>
|
||||
|
@ -977,15 +996,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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1069,7 +1079,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/constant_names.cr#L24" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/constant_names.cr#L24" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1077,6 +1087,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>
|
||||
|
@ -1211,7 +1260,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/constant_names.cr#L31" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/constant_names.cr#L31" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -821,7 +821,7 @@ ok</code></pre>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/guard_clause.cr#L54" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/guard_clause.cr#L54" target="_blank">
|
||||
ameba/rule/style/guard_clause.cr
|
||||
</a>
|
||||
|
||||
|
@ -877,6 +877,25 @@ ok</code></pre>
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
@ -1108,15 +1127,6 @@ ok</code></pre>
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1235,7 +1245,7 @@ ok</code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/guard_clause.cr#L54" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/guard_clause.cr#L54" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1243,6 +1253,45 @@ ok</code></pre>
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
@ -1349,7 +1398,7 @@ ok</code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/guard_clause.cr#L175" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/guard_clause.cr#L175" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1393,7 +1442,7 @@ ok</code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/guard_clause.cr#L69" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/guard_clause.cr#L69" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1409,7 +1458,7 @@ ok</code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/guard_clause.cr#L83" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/guard_clause.cr#L83" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1425,7 +1474,7 @@ ok</code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/guard_clause.cr#L65" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/guard_clause.cr#L65" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -801,7 +801,7 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># => tr
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/is_a_filter.cr#L41" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/is_a_filter.cr#L41" target="_blank">
|
||||
ameba/rule/style/is_a_filter.cr
|
||||
</a>
|
||||
|
||||
|
@ -867,6 +867,25 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># => tr
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
@ -1019,15 +1038,6 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># => tr
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1128,7 +1138,7 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># => tr
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/is_a_filter.cr#L41" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/is_a_filter.cr#L41" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1136,6 +1146,45 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># => tr
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
@ -1298,7 +1347,7 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># => tr
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/is_a_filter.cr#L60" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/is_a_filter.cr#L60" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1314,7 +1363,7 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># => tr
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/is_a_filter.cr#L51" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/is_a_filter.cr#L51" 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/style/is_a_nil.cr#L22" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/is_a_nil.cr#L22" target="_blank">
|
||||
ameba/rule/style/is_a_nil.cr
|
||||
</a>
|
||||
|
||||
|
@ -843,6 +843,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,15 +999,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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1070,7 +1080,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/is_a_nil.cr#L22" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/is_a_nil.cr#L22" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1078,6 +1088,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>
|
||||
|
@ -1212,7 +1261,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/is_a_nil.cr#L30" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/is_a_nil.cr#L30" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -789,7 +789,7 @@ large numbers more easily.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/large_numbers.cr#L29" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/large_numbers.cr#L29" target="_blank">
|
||||
ameba/rule/style/large_numbers.cr
|
||||
</a>
|
||||
|
||||
|
@ -845,6 +845,25 @@ large numbers more easily.</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>
|
||||
|
@ -992,15 +1011,6 @@ large numbers more easily.</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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1089,7 +1099,7 @@ large numbers more easily.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/large_numbers.cr#L29" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/large_numbers.cr#L29" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1097,6 +1107,45 @@ large numbers more easily.</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>
|
||||
|
@ -1259,7 +1308,7 @@ large numbers more easily.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/large_numbers.cr#L38" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/large_numbers.cr#L38" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -802,7 +802,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/method_names.cr#L40" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/method_names.cr#L40" target="_blank">
|
||||
ameba/rule/style/method_names.cr
|
||||
</a>
|
||||
|
||||
|
@ -858,6 +858,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>
|
||||
|
@ -1074,15 +1093,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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1182,7 +1192,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/method_names.cr#L40" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/method_names.cr#L40" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1190,6 +1200,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>
|
||||
|
@ -1324,7 +1373,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/method_names.cr#L49" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/method_names.cr#L49" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -788,7 +788,7 @@ that is executed if a negated condition is NOT met.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/negated_conditions_in_unless.cr#L29" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/negated_conditions_in_unless.cr#L29" target="_blank">
|
||||
ameba/rule/style/negated_conditions_in_unless.cr
|
||||
</a>
|
||||
|
||||
|
@ -844,6 +844,25 @@ that is executed if a negated condition is NOT met.</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>
|
||||
|
@ -981,15 +1000,6 @@ that is executed if a negated condition is NOT met.</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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1077,7 +1087,7 @@ that is executed if a negated condition is NOT met.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/negated_conditions_in_unless.cr#L29" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/negated_conditions_in_unless.cr#L29" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1085,6 +1095,45 @@ that is executed if a negated condition is NOT met.</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>
|
||||
|
@ -1219,7 +1268,7 @@ that is executed if a negated condition is NOT met.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/negated_conditions_in_unless.cr#L36" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/negated_conditions_in_unless.cr#L36" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -791,7 +791,7 @@ start with the prefix <code>has_</code> or the prefix <code>is_</code>. Ignores
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/predicate_name.cr#L31" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/predicate_name.cr#L31" target="_blank">
|
||||
ameba/rule/style/predicate_name.cr
|
||||
</a>
|
||||
|
||||
|
@ -847,6 +847,25 @@ start with the prefix <code>has_</code> or the prefix <code>is_</code>. Ignores
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
@ -984,15 +1003,6 @@ start with the prefix <code>has_</code> or the prefix <code>is_</code>. Ignores
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1083,7 +1093,7 @@ start with the prefix <code>has_</code> or the prefix <code>is_</code>. Ignores
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/predicate_name.cr#L31" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/predicate_name.cr#L31" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1091,6 +1101,45 @@ start with the prefix <code>has_</code> or the prefix <code>is_</code>. Ignores
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
@ -1225,7 +1274,7 @@ start with the prefix <code>has_</code> or the prefix <code>is_</code>. Ignores
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/predicate_name.cr#L39" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/predicate_name.cr#L39" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -813,7 +813,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/redundant_begin.cr#L58" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/redundant_begin.cr#L58" target="_blank">
|
||||
ameba/rule/style/redundant_begin.cr
|
||||
</a>
|
||||
|
||||
|
@ -869,6 +869,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>
|
||||
|
@ -1085,15 +1104,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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1204,7 +1214,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/redundant_begin.cr#L58" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/redundant_begin.cr#L58" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1212,6 +1222,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>
|
||||
|
@ -1346,7 +1395,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/redundant_begin.cr#L67" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/redundant_begin.cr#L67" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -848,7 +848,7 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/redundant_next.cr#L99" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/redundant_next.cr#L99" target="_blank">
|
||||
ameba/rule/style/redundant_next.cr
|
||||
</a>
|
||||
|
||||
|
@ -904,6 +904,25 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
@ -1145,15 +1164,6 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1299,7 +1309,7 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/redundant_next.cr#L99" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/redundant_next.cr#L99" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1307,6 +1317,45 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
@ -1497,7 +1546,7 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/redundant_next.cr#L115" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/redundant_next.cr#L115" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1513,7 +1562,7 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/redundant_next.cr#L111" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/redundant_next.cr#L111" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -845,7 +845,7 @@ without arguments. Sometimes such returns are used to return the <code>nil</code
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/redundant_return.cr#L96" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/redundant_return.cr#L96" target="_blank">
|
||||
ameba/rule/style/redundant_return.cr
|
||||
</a>
|
||||
|
||||
|
@ -901,6 +901,25 @@ without arguments. Sometimes such returns are used to return the <code>nil</code
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
@ -1142,15 +1161,6 @@ without arguments. Sometimes such returns are used to return the <code>nil</code
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1293,7 +1303,7 @@ without arguments. Sometimes such returns are used to return the <code>nil</code
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/redundant_return.cr#L96" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/redundant_return.cr#L96" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1301,6 +1311,45 @@ without arguments. Sometimes such returns are used to return the <code>nil</code
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
@ -1491,7 +1540,7 @@ without arguments. Sometimes such returns are used to return the <code>nil</code
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/redundant_return.cr#L112" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/redundant_return.cr#L112" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1507,7 +1556,7 @@ without arguments. Sometimes such returns are used to return the <code>nil</code
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/redundant_return.cr#L108" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/redundant_return.cr#L108" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -814,7 +814,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/type_names.cr#L54" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/type_names.cr#L54" target="_blank">
|
||||
ameba/rule/style/type_names.cr
|
||||
</a>
|
||||
|
||||
|
@ -870,6 +870,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>
|
||||
|
@ -1027,15 +1046,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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1149,7 +1159,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/type_names.cr#L54" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/type_names.cr#L54" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1157,6 +1167,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>
|
||||
|
@ -1291,7 +1340,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/type_names.cr#L69" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/type_names.cr#L69" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1307,7 +1356,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/type_names.cr#L73" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/type_names.cr#L73" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1323,7 +1372,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/type_names.cr#L77" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/type_names.cr#L77" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1339,7 +1388,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/type_names.cr#L81" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/type_names.cr#L81" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1355,7 +1404,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/type_names.cr#L85" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/type_names.cr#L85" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -801,7 +801,7 @@ an <code>if</code>, so the previous invalid example would become this:</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/unless_else.cr#L45" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/unless_else.cr#L45" target="_blank">
|
||||
ameba/rule/style/unless_else.cr
|
||||
</a>
|
||||
|
||||
|
@ -857,6 +857,25 @@ an <code>if</code>, so the previous invalid example would become this:</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>
|
||||
|
@ -994,15 +1013,6 @@ an <code>if</code>, so the previous invalid example would become this:</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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1103,7 +1113,7 @@ an <code>if</code>, so the previous invalid example would become this:</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/unless_else.cr#L45" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/unless_else.cr#L45" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1111,6 +1121,45 @@ an <code>if</code>, so the previous invalid example would become this:</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>
|
||||
|
@ -1245,7 +1294,7 @@ an <code>if</code>, so the previous invalid example would become this:</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/unless_else.cr#L52" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/unless_else.cr#L52" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -785,7 +785,7 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/variable_names.cr#L25" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/variable_names.cr#L25" target="_blank">
|
||||
ameba/rule/style/variable_names.cr
|
||||
</a>
|
||||
|
||||
|
@ -841,6 +841,25 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
@ -995,15 +1014,6 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1088,7 +1098,7 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/variable_names.cr#L25" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/variable_names.cr#L25" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1096,6 +1106,45 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
|
@ -1230,7 +1279,7 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/variable_names.cr#L42" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/variable_names.cr#L42" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1246,7 +1295,7 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/variable_names.cr#L46" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/variable_names.cr#L46" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1262,7 +1311,7 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/variable_names.cr#L50" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/variable_names.cr#L50" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1290,7 +1339,7 @@ Must be overriten for other type of rules.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/variable_names.cr#L38" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/variable_names.cr#L38" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -792,7 +792,7 @@ argument as a receiver, that can be collapsed into a short form.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/verbose_block.cr#L30" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/verbose_block.cr#L30" target="_blank">
|
||||
ameba/rule/style/verbose_block.cr
|
||||
</a>
|
||||
|
||||
|
@ -853,6 +853,25 @@ argument as a receiver, that can be collapsed into a short form.</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>
|
||||
|
@ -1139,15 +1158,6 @@ argument as a receiver, that can be collapsed into a short form.</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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1237,7 +1247,7 @@ argument as a receiver, that can be collapsed into a short form.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/verbose_block.cr#L30" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/verbose_block.cr#L30" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1245,6 +1255,45 @@ argument as a receiver, that can be collapsed into a short form.</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>
|
||||
|
@ -1575,7 +1624,7 @@ argument as a receiver, that can be collapsed into a short form.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/verbose_block.cr#L217" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/verbose_block.cr#L217" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -788,7 +788,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/while_true.cr#L28" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/while_true.cr#L28" target="_blank">
|
||||
ameba/rule/style/while_true.cr
|
||||
</a>
|
||||
|
||||
|
@ -844,6 +844,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>
|
||||
|
@ -981,15 +1000,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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1077,7 +1087,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/while_true.cr#L28" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/while_true.cr#L28" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1085,6 +1095,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>
|
||||
|
@ -1219,7 +1268,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a9ae491a/src/ameba/rule/style/while_true.cr#L35" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4700ae76/src/ameba/rule/style/while_true.cr#L35" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue