Deploying to gh-pages from @ crystal-ameba/ameba@b6bd74e02f 🚀

This commit is contained in:
Sija 2024-01-09 20:13:27 +00:00
parent 18e2b53b9f
commit 97f4d31b25
148 changed files with 5530 additions and 2105 deletions

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -1102,7 +1102,7 @@ that are tested by this rule, it should add an issue.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/base.cr#L29" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/base.cr#L29" target="_blank">
ameba/rule/base.cr
</a>
@ -1153,6 +1153,27 @@ that are tested by this rule, it should add an issue.</p>
<h2>
<a id="macro-summary" class="anchor" href="#macro-summary">
<svg class="octicon-link" aria-hidden="true">
<use href="#octicon-link"/>
</svg>
</a>
Macro Summary
</h2>
<ul class="list-summary">
<li class="entry-summary">
<a href="#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="signature"><strong>issue_for</strong>(*args, **kwargs, &block)</a>
<div class="summary"><p>Adds an issue to the <em>source</em></p></div>
</li>
</ul>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1215,6 +1236,8 @@ that are tested by this rule, it should add an issue.</p>
<li class="entry-summary">
<a href="#test%28source%3ASource%2Cnode%3ACrystal%3A%3AASTNode%2C%2Aopts%29-instance-method" class="signature"><strong>#test</strong>(source : Source, node : Crystal::ASTNode, *opts)</a>
<div class="summary"><p><span class="flag purple">NOTE</span> Can't be abstract</p></div>
</li>
<li class="entry-summary">
@ -1228,27 +1251,6 @@ that are tested by this rule, it should add an issue.</p>
<h2>
<a id="macro-summary" class="anchor" href="#macro-summary">
<svg class="octicon-link" aria-hidden="true">
<use href="#octicon-link"/>
</svg>
</a>
Macro Summary
</h2>
<ul class="list-summary">
<li class="entry-summary">
<a href="#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="signature"><strong>issue_for</strong>(*args, **kwargs, &block)</a>
<div class="summary"><p>Adds an issue to the <em>source</em></p></div>
</li>
</ul>
<div class="methods-inherited">
@ -1260,6 +1262,18 @@ that are tested by this rule, it should add an issue.</p>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1270,12 +1284,18 @@ that are tested by this rule, it should add an issue.</p>
@ -1312,6 +1332,39 @@ that are tested by this rule, it should add an issue.</p>
<h2>
<a id="macro-detail" class="anchor" href="#macro-detail">
<svg class="octicon-link" aria-hidden="true">
<use href="#octicon-link"/>
</svg>
</a>
Macro Detail
</h2>
<div class="entry-detail" id="issue_for(*args,**kwargs,&amp;block)-macro">
<div class="signature">
macro <strong>issue_for</strong>(*args, **kwargs, &block)
<a class="method-permalink" href="#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro">#</a>
</div>
<div class="doc">
<p>Adds an issue to the <em>source</em></p>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/base.cr#L117" target="_blank">View source</a>]
</div>
</div>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1341,7 +1394,7 @@ that are tested by this rule, it should add an issue.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/base.cr#L107" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/base.cr#L108" target="_blank">View source</a>]
</div>
</div>
@ -1365,7 +1418,7 @@ source.valid?</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/base.cr#L52" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/base.cr#L53" target="_blank">View source</a>]
</div>
</div>
@ -1389,7 +1442,7 @@ the one of the given source.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/base.cr#L90" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/base.cr#L91" target="_blank">View source</a>]
</div>
</div>
@ -1415,7 +1468,7 @@ the one of the given source.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/base.cr#L79" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/base.cr#L80" target="_blank">View source</a>]
</div>
</div>
@ -1445,7 +1498,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/452a7a8/src/ameba/rule/base.cr#L111" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/base.cr#L112" target="_blank">View source</a>]
</div>
</div>
@ -1472,7 +1525,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/452a7a8/src/ameba/rule/base.cr#L66" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/base.cr#L67" target="_blank">View source</a>]
</div>
</div>
@ -1495,7 +1548,7 @@ usual rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/base.cr#L103" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/base.cr#L104" target="_blank">View source</a>]
</div>
</div>
@ -1508,10 +1561,15 @@ usual rules.</p>
<a class="method-permalink" href="#test%28source%3ASource%2Cnode%3ACrystal%3A%3AASTNode%2C%2Aopts%29-instance-method">#</a>
</div>
<div class="doc">
<p><span class="flag purple">NOTE</span> Can't be abstract</p>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/base.cr#L41" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/base.cr#L43" target="_blank">View source</a>]
</div>
</div>
@ -1528,47 +1586,14 @@ usual rules.</p>
<p>This method is designed to test the source passed in. If source has issues
that are tested by this rule, it should add an issue.</p>
<p>Be default it uses a node visitor to traverse all the nodes in the source.</p>
<p>By default it uses a node visitor to traverse all the nodes in the source.</p>
<p><span class="flag purple">NOTE</span> Must be overridden for other type of rules.</p>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/base.cr#L37" target="_blank">View source</a>]
</div>
</div>
<h2>
<a id="macro-detail" class="anchor" href="#macro-detail">
<svg class="octicon-link" aria-hidden="true">
<use href="#octicon-link"/>
</svg>
</a>
Macro Detail
</h2>
<div class="entry-detail" id="issue_for(*args,**kwargs,&amp;block)-macro">
<div class="signature">
macro <strong>issue_for</strong>(*args, **kwargs, &block)
<a class="method-permalink" href="#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro">#</a>
</div>
<div class="doc">
<p>Adds an issue to the <em>source</em></p>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/base.cr#L116" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/base.cr#L38" target="_blank">View source</a>]
</div>
</div>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -912,14 +912,14 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/documentation/documentation.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/documentation/documentation.cr#L1" target="_blank">
ameba/rule/documentation/documentation.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/documentation/documentation_admonition.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/documentation/documentation_admonition.cr#L1" target="_blank">
ameba/rule/documentation/documentation_admonition.cr
</a>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -951,7 +951,7 @@ modules, classes, enums, methods and macros.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/documentation/documentation.cr#L17" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/documentation/documentation.cr#L17" target="_blank">
ameba/rule/documentation/documentation.cr
</a>
@ -1033,6 +1033,8 @@ modules, classes, enums, methods and macros.</p>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1177,8 +1179,6 @@ modules, classes, enums, methods and macros.</p>
<div class="methods-inherited">
@ -1188,6 +1188,9 @@ modules, classes, enums, methods and macros.</p>
@ -1196,6 +1199,9 @@ modules, classes, enums, methods and macros.</p>
@ -1263,7 +1269,44 @@ modules, classes, enums, methods and macros.</p>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1277,13 +1320,6 @@ modules, classes, enums, methods and macros.</p>
@ -1346,7 +1382,7 @@ modules, classes, enums, methods and macros.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/documentation/documentation.cr#L17" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/documentation/documentation.cr#L17" target="_blank">View source</a>]
</div>
</div>
@ -1395,6 +1431,8 @@ modules, classes, enums, methods and macros.</p>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1695,7 +1733,7 @@ modules, classes, enums, methods and macros.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/documentation/documentation.cr#L43" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/documentation/documentation.cr#L43" target="_blank">View source</a>]
</div>
</div>
@ -1711,7 +1749,7 @@ modules, classes, enums, methods and macros.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/documentation/documentation.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/documentation/documentation.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1727,7 +1765,7 @@ modules, classes, enums, methods and macros.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/documentation/documentation.cr#L51" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/documentation/documentation.cr#L51" target="_blank">View source</a>]
</div>
</div>
@ -1743,7 +1781,7 @@ modules, classes, enums, methods and macros.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/documentation/documentation.cr#L55" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/documentation/documentation.cr#L55" target="_blank">View source</a>]
</div>
</div>
@ -1759,7 +1797,7 @@ modules, classes, enums, methods and macros.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/documentation/documentation.cr#L59" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/documentation/documentation.cr#L59" target="_blank">View source</a>]
</div>
</div>
@ -1775,15 +1813,13 @@ modules, classes, enums, methods and macros.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/documentation/documentation.cr#L39" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/documentation/documentation.cr#L39" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -961,7 +961,7 @@ and are therefore reported by Ameba.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/documentation/documentation_admonition.cr#L35" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/documentation/documentation_admonition.cr#L35" target="_blank">
ameba/rule/documentation/documentation_admonition.cr
</a>
@ -1048,6 +1048,8 @@ and are therefore reported by Ameba.</p>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1127,8 +1129,6 @@ and are therefore reported by Ameba.</p>
<div class="methods-inherited">
@ -1138,6 +1138,9 @@ and are therefore reported by Ameba.</p>
@ -1146,6 +1149,9 @@ and are therefore reported by Ameba.</p>
@ -1213,7 +1219,44 @@ and are therefore reported by Ameba.</p>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1227,13 +1270,6 @@ and are therefore reported by Ameba.</p>
@ -1306,7 +1342,7 @@ and are therefore reported by Ameba.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/documentation/documentation_admonition.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/documentation/documentation_admonition.cr#L35" target="_blank">View source</a>]
</div>
</div>
@ -1355,6 +1391,8 @@ and are therefore reported by Ameba.</p>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1515,7 +1553,7 @@ and are therefore reported by Ameba.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/documentation/documentation_admonition.cr#L51" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/documentation/documentation_admonition.cr#L51" target="_blank">View source</a>]
</div>
</div>
@ -1550,8 +1588,6 @@ and are therefore reported by Ameba.</p>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -912,21 +912,21 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/layout/line_length.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/layout/trailing_blank_lines.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/layout/trailing_whitespace.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/layout/trailing_whitespace.cr#L1" target="_blank">
ameba/rule/layout/trailing_whitespace.cr
</a>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -945,7 +945,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/layout/line_length.cr#L11" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/layout/line_length.cr#L11" target="_blank">
ameba/rule/layout/line_length.cr
</a>
@ -1022,6 +1022,8 @@
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1091,8 +1093,6 @@
<div class="methods-inherited">
@ -1102,6 +1102,9 @@
@ -1110,6 +1113,9 @@
@ -1177,7 +1183,44 @@
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1191,13 +1234,6 @@
@ -1254,7 +1290,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/layout/line_length.cr#L11" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/layout/line_length.cr#L11" target="_blank">View source</a>]
</div>
</div>
@ -1303,6 +1339,8 @@
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1463,15 +1501,13 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/layout/line_length.cr#L20" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/layout/line_length.cr#L20" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -944,7 +944,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/layout/trailing_blank_lines.cr#L10" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/layout/trailing_blank_lines.cr#L10" target="_blank">
ameba/rule/layout/trailing_blank_lines.cr
</a>
@ -1026,6 +1026,8 @@
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1085,8 +1087,6 @@
<div class="methods-inherited">
@ -1096,6 +1096,9 @@
@ -1104,6 +1107,9 @@
@ -1171,7 +1177,44 @@
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1185,13 +1228,6 @@
@ -1247,7 +1283,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/layout/trailing_blank_lines.cr#L10" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/layout/trailing_blank_lines.cr#L10" target="_blank">View source</a>]
</div>
</div>
@ -1296,6 +1332,8 @@
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1428,15 +1466,13 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/layout/trailing_blank_lines.cr#L18" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/layout/trailing_blank_lines.cr#L18" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -944,7 +944,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/layout/trailing_whitespace.cr#L10" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/layout/trailing_whitespace.cr#L10" target="_blank">
ameba/rule/layout/trailing_whitespace.cr
</a>
@ -1021,6 +1021,8 @@
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1080,8 +1082,6 @@
<div class="methods-inherited">
@ -1091,6 +1091,9 @@
@ -1099,6 +1102,9 @@
@ -1166,7 +1172,44 @@
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1180,13 +1223,6 @@
@ -1242,7 +1278,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/layout/trailing_whitespace.cr#L10" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/layout/trailing_whitespace.cr#L10" target="_blank">View source</a>]
</div>
</div>
@ -1291,6 +1327,8 @@
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1423,15 +1461,13 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/layout/trailing_whitespace.cr#L17" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/layout/trailing_whitespace.cr#L17" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -912,259 +912,259 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/ambiguous_assignment.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/lint/bad_directive.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/lint/comparison_to_boolean.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/lint/debug_calls.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/lint/debugger_statement.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/lint/duplicated_require.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/lint/empty_ensure.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/lint/empty_expression.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/lint/empty_loop.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/lint/formatting.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/formatting.cr#L3" target="_blank">
ameba/rule/lint/formatting.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/hash_duplicated_key.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L1" target="_blank">
ameba/rule/lint/literal_assignments_in_expressions.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/literal_in_condition.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/lint/literal_in_interpolation.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/lint/literals_comparison.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/literals_comparison.cr#L1" target="_blank">
ameba/rule/lint/literals_comparison.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/missing_block_argument.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/missing_block_argument.cr#L1" target="_blank">
ameba/rule/lint/missing_block_argument.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/not_nil.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/not_nil.cr#L1" target="_blank">
ameba/rule/lint/not_nil.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/not_nil_after_no_bang.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/not_nil_after_no_bang.cr#L1" target="_blank">
ameba/rule/lint/not_nil_after_no_bang.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/percent_array.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/lint/rand_zero.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/lint/redundant_string_coercion.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/lint/redundant_with_index.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/lint/redundant_with_object.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/lint/shadowed_argument.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/lint/shadowed_exception.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/lint/shadowing_outer_local_var.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/lint/shared_var_in_fiber.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/lint/spec_filename.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/spec_filename.cr#L3" target="_blank">
ameba/rule/lint/spec_filename.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/spec_focus.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/lint/syntax.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/lint/typos.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/typos.cr#L1" target="_blank">
ameba/rule/lint/typos.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/unneeded_disable_directive.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/lint/unreachable_code.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/lint/unused_argument.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/lint/unused_block_argument.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/unused_block_argument.cr#L1" target="_blank">
ameba/rule/lint/unused_block_argument.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/useless_assign.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/lint/useless_condition_in_when.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/useless_condition_in_when.cr#L1" target="_blank">
ameba/rule/lint/useless_condition_in_when.cr
</a>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -954,7 +954,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/452a7a8/src/ameba/rule/lint/ambiguous_assignment.cr#L26" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/ambiguous_assignment.cr#L26" target="_blank">
ameba/rule/lint/ambiguous_assignment.cr
</a>
@ -1036,6 +1036,8 @@ x <span class="o">!=</span> y <span class="c"># or x = !y</span></code></pre>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1095,8 +1097,6 @@ x <span class="o">!=</span> y <span class="c"># or x = !y</span></code></pre>
<div class="methods-inherited">
@ -1192,6 +1192,9 @@ x <span class="o">!=</span> y <span class="c"># or x = !y</span></code></pre>
@ -1199,6 +1202,9 @@ x <span class="o">!=</span> y <span class="c"># or x = !y</span></code></pre>
@ -1208,6 +1214,9 @@ x <span class="o">!=</span> y <span class="c"># or x = !y</span></code></pre>
@ -1275,7 +1284,44 @@ x <span class="o">!=</span> y <span class="c"># or x = !y</span></code></pre>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1289,13 +1335,6 @@ x <span class="o">!=</span> y <span class="c"># or x = !y</span></code></pre>
@ -1359,7 +1398,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/452a7a8/src/ameba/rule/lint/ambiguous_assignment.cr#L26" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/ambiguous_assignment.cr#L26" target="_blank">View source</a>]
</div>
</div>
@ -1408,6 +1447,8 @@ x <span class="o">!=</span> y <span class="c"># or x = !y</span></code></pre>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1540,15 +1581,13 @@ 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/452a7a8/src/ameba/rule/lint/ambiguous_assignment.cr#L41" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/ambiguous_assignment.cr#L41" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -950,7 +950,7 @@ to disable a rule that even doesn't exist:</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/bad_directive.cr#L20" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/bad_directive.cr#L20" target="_blank">
ameba/rule/lint/bad_directive.cr
</a>
@ -1037,6 +1037,8 @@ to disable a rule that even doesn't exist:</p>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1096,8 +1098,6 @@ to disable a rule that even doesn't exist:</p>
<div class="methods-inherited">
@ -1107,6 +1107,9 @@ to disable a rule that even doesn't exist:</p>
@ -1115,6 +1118,9 @@ to disable a rule that even doesn't exist:</p>
@ -1182,7 +1188,44 @@ to disable a rule that even doesn't exist:</p>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1196,13 +1239,6 @@ to disable a rule that even doesn't exist:</p>
@ -1264,7 +1300,7 @@ to disable a rule that even doesn't exist:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/bad_directive.cr#L20" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/bad_directive.cr#L20" target="_blank">View source</a>]
</div>
</div>
@ -1313,6 +1349,8 @@ to disable a rule that even doesn't exist:</p>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1445,15 +1483,13 @@ to disable a rule that even doesn't exist:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/bad_directive.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/bad_directive.cr#L29" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -953,7 +953,7 @@ or negating the variable.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/comparison_to_boolean.cr#L22" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/comparison_to_boolean.cr#L22" target="_blank">
ameba/rule/lint/comparison_to_boolean.cr
</a>
@ -1035,6 +1035,8 @@ or negating the variable.</p>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1094,8 +1096,6 @@ or negating the variable.</p>
<div class="methods-inherited">
@ -1191,6 +1191,9 @@ or negating the variable.</p>
@ -1198,6 +1201,9 @@ or negating the variable.</p>
@ -1207,6 +1213,9 @@ or negating the variable.</p>
@ -1274,7 +1283,44 @@ or negating the variable.</p>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1288,13 +1334,6 @@ or negating the variable.</p>
@ -1357,7 +1396,7 @@ or negating the variable.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/comparison_to_boolean.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/comparison_to_boolean.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1406,6 +1445,8 @@ or negating the variable.</p>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1538,15 +1579,13 @@ or negating the variable.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/comparison_to_boolean.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/comparison_to_boolean.cr#L33" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -951,7 +951,7 @@ committed into our codebase.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/debug_calls.cr#L18" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/debug_calls.cr#L18" target="_blank">
ameba/rule/lint/debug_calls.cr
</a>
@ -1028,6 +1028,8 @@ committed into our codebase.</p>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1097,8 +1099,6 @@ committed into our codebase.</p>
<div class="methods-inherited">
@ -1108,6 +1108,9 @@ committed into our codebase.</p>
@ -1116,6 +1119,9 @@ committed into our codebase.</p>
@ -1183,7 +1189,44 @@ committed into our codebase.</p>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1197,13 +1240,6 @@ committed into our codebase.</p>
@ -1266,7 +1302,7 @@ committed into our codebase.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/debug_calls.cr#L18" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/debug_calls.cr#L18" target="_blank">View source</a>]
</div>
</div>
@ -1315,6 +1351,8 @@ committed into our codebase.</p>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1475,15 +1513,13 @@ committed into our codebase.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/debug_calls.cr#L26" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/debug_calls.cr#L26" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -946,7 +946,7 @@ committed into our codebase.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/debugger_statement.cr#L13" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/debugger_statement.cr#L13" target="_blank">
ameba/rule/lint/debugger_statement.cr
</a>
@ -1023,6 +1023,8 @@ committed into our codebase.</p>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1082,8 +1084,6 @@ committed into our codebase.</p>
<div class="methods-inherited">
@ -1093,6 +1093,9 @@ committed into our codebase.</p>
@ -1101,6 +1104,9 @@ committed into our codebase.</p>
@ -1168,7 +1174,44 @@ committed into our codebase.</p>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1182,13 +1225,6 @@ committed into our codebase.</p>
@ -1246,7 +1282,7 @@ committed into our codebase.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/debugger_statement.cr#L13" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/debugger_statement.cr#L13" target="_blank">View source</a>]
</div>
</div>
@ -1295,6 +1331,8 @@ committed into our codebase.</p>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1427,15 +1465,13 @@ committed into our codebase.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/debugger_statement.cr#L20" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/debugger_statement.cr#L20" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -947,7 +947,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/duplicated_require.cr#L16" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/duplicated_require.cr#L16" target="_blank">
ameba/rule/lint/duplicated_require.cr
</a>
@ -1024,6 +1024,8 @@
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1083,8 +1085,6 @@
<div class="methods-inherited">
@ -1094,6 +1094,9 @@
@ -1102,6 +1105,9 @@
@ -1169,7 +1175,44 @@
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1183,13 +1226,6 @@
@ -1248,7 +1284,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/duplicated_require.cr#L16" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/duplicated_require.cr#L16" target="_blank">View source</a>]
</div>
</div>
@ -1297,6 +1333,8 @@
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1429,15 +1467,13 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/duplicated_require.cr#L23" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/duplicated_require.cr#L23" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -966,7 +966,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/empty_ensure.cr#L40" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/empty_ensure.cr#L40" target="_blank">
ameba/rule/lint/empty_ensure.cr
</a>
@ -1043,6 +1043,8 @@
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1102,8 +1104,6 @@
<div class="methods-inherited">
@ -1113,6 +1113,9 @@
@ -1121,6 +1124,9 @@
@ -1188,7 +1194,44 @@
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1202,13 +1245,6 @@
@ -1286,7 +1322,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/empty_ensure.cr#L40" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/empty_ensure.cr#L40" target="_blank">View source</a>]
</div>
</div>
@ -1335,6 +1371,8 @@
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1467,15 +1505,13 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/empty_ensure.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/empty_ensure.cr#L47" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -956,7 +956,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/empty_expression.cr#L30" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/empty_expression.cr#L30" target="_blank">
ameba/rule/lint/empty_expression.cr
</a>
@ -1033,6 +1033,8 @@
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1092,8 +1094,6 @@
<div class="methods-inherited">
@ -1103,6 +1103,9 @@
@ -1111,6 +1114,9 @@
@ -1178,7 +1184,44 @@
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1192,13 +1235,6 @@
@ -1266,7 +1302,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/empty_expression.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/empty_expression.cr#L30" target="_blank">View source</a>]
</div>
</div>
@ -1315,6 +1351,8 @@
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1447,15 +1485,13 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/empty_expression.cr#L37" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/empty_expression.cr#L37" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -968,7 +968,7 @@ loop <span class="k">do</span>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/empty_loop.cr#L40" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/empty_loop.cr#L40" target="_blank">
ameba/rule/lint/empty_loop.cr
</a>
@ -1045,6 +1045,8 @@ loop <span class="k">do</span>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1109,8 +1111,6 @@ loop <span class="k">do</span>
<div class="methods-inherited">
@ -1206,6 +1206,9 @@ loop <span class="k">do</span>
@ -1213,6 +1216,9 @@ loop <span class="k">do</span>
@ -1222,6 +1228,9 @@ loop <span class="k">do</span>
@ -1289,7 +1298,44 @@ loop <span class="k">do</span>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1303,13 +1349,6 @@ loop <span class="k">do</span>
@ -1387,7 +1426,7 @@ loop <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/empty_loop.cr#L40" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/empty_loop.cr#L40" target="_blank">View source</a>]
</div>
</div>
@ -1436,6 +1475,8 @@ loop <span class="k">do</span>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1568,7 +1609,7 @@ loop <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/empty_loop.cr#L49" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/empty_loop.cr#L49" target="_blank">View source</a>]
</div>
</div>
@ -1584,15 +1625,13 @@ loop <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/empty_loop.cr#L53" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/empty_loop.cr#L53" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -956,7 +956,7 @@ Crystal's built-in formatter.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/formatting.cr#L28" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/formatting.cr#L28" target="_blank">
ameba/rule/lint/formatting.cr
</a>
@ -1038,6 +1038,8 @@ Crystal's built-in formatter.</p>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1107,8 +1109,6 @@ Crystal's built-in formatter.</p>
<div class="methods-inherited">
@ -1118,6 +1118,9 @@ Crystal's built-in formatter.</p>
@ -1126,6 +1129,9 @@ Crystal's built-in formatter.</p>
@ -1193,7 +1199,44 @@ Crystal's built-in formatter.</p>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1207,13 +1250,6 @@ Crystal's built-in formatter.</p>
@ -1281,7 +1317,7 @@ Crystal's built-in formatter.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/formatting.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/formatting.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -1330,6 +1366,8 @@ Crystal's built-in formatter.</p>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1490,15 +1528,13 @@ Crystal's built-in formatter.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/formatting.cr#L39" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/formatting.cr#L39" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -948,7 +948,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/hash_duplicated_key.cr#L22" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/hash_duplicated_key.cr#L22" target="_blank">
ameba/rule/lint/hash_duplicated_key.cr
</a>
@ -1025,6 +1025,8 @@
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1084,8 +1086,6 @@
<div class="methods-inherited">
@ -1095,6 +1095,9 @@
@ -1103,6 +1106,9 @@
@ -1170,7 +1176,44 @@
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1184,13 +1227,6 @@
@ -1250,7 +1286,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/hash_duplicated_key.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/hash_duplicated_key.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1299,6 +1335,8 @@
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1431,15 +1469,13 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/hash_duplicated_key.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/hash_duplicated_key.cr#L29" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -955,7 +955,7 @@ in control expressions.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L27" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L27" target="_blank">
ameba/rule/lint/literal_assignments_in_expressions.cr
</a>
@ -1032,6 +1032,8 @@ in control expressions.</p>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1091,8 +1093,6 @@ in control expressions.</p>
<div class="methods-inherited">
@ -1188,6 +1188,9 @@ in control expressions.</p>
@ -1195,6 +1198,9 @@ in control expressions.</p>
@ -1204,6 +1210,9 @@ in control expressions.</p>
@ -1271,7 +1280,44 @@ in control expressions.</p>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1285,13 +1331,6 @@ in control expressions.</p>
@ -1356,7 +1395,7 @@ in control expressions.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L27" target="_blank">View source</a>]
</div>
</div>
@ -1405,6 +1444,8 @@ in control expressions.</p>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1537,15 +1578,13 @@ in control expressions.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L36" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L36" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -954,7 +954,7 @@ replaced with either the body of the construct, or deleted entirely.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/literal_in_condition.cr#L23" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/literal_in_condition.cr#L23" target="_blank">
ameba/rule/lint/literal_in_condition.cr
</a>
@ -1031,6 +1031,8 @@ replaced with either the body of the construct, or deleted entirely.</p>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1090,8 +1092,6 @@ replaced with either the body of the construct, or deleted entirely.</p>
<div class="methods-inherited">
@ -1187,6 +1187,9 @@ replaced with either the body of the construct, or deleted entirely.</p>
@ -1194,6 +1197,9 @@ replaced with either the body of the construct, or deleted entirely.</p>
@ -1203,6 +1209,9 @@ replaced with either the body of the construct, or deleted entirely.</p>
@ -1270,7 +1279,44 @@ replaced with either the body of the construct, or deleted entirely.</p>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1284,13 +1330,6 @@ replaced with either the body of the construct, or deleted entirely.</p>
@ -1354,7 +1393,7 @@ replaced with either the body of the construct, or deleted entirely.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/literal_in_condition.cr#L23" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/literal_in_condition.cr#L23" target="_blank">View source</a>]
</div>
</div>
@ -1403,6 +1442,8 @@ replaced with either the body of the construct, or deleted entirely.</p>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1535,15 +1576,13 @@ replaced with either the body of the construct, or deleted entirely.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/literal_in_condition.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/literal_in_condition.cr#L33" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -950,7 +950,7 @@ that contain a literal value instead of a variable or function.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/literal_in_interpolation.cr#L18" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/literal_in_interpolation.cr#L18" target="_blank">
ameba/rule/lint/literal_in_interpolation.cr
</a>
@ -1027,6 +1027,8 @@ that contain a literal value instead of a variable or function.</p>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1086,8 +1088,6 @@ that contain a literal value instead of a variable or function.</p>
<div class="methods-inherited">
@ -1183,6 +1183,9 @@ that contain a literal value instead of a variable or function.</p>
@ -1190,6 +1193,9 @@ that contain a literal value instead of a variable or function.</p>
@ -1199,6 +1205,9 @@ that contain a literal value instead of a variable or function.</p>
@ -1266,7 +1275,44 @@ that contain a literal value instead of a variable or function.</p>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1280,13 +1326,6 @@ that contain a literal value instead of a variable or function.</p>
@ -1346,7 +1385,7 @@ that contain a literal value instead of a variable or function.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/literal_in_interpolation.cr#L18" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/literal_in_interpolation.cr#L18" target="_blank">View source</a>]
</div>
</div>
@ -1395,6 +1434,8 @@ that contain a literal value instead of a variable or function.</p>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1527,15 +1568,13 @@ that contain a literal value instead of a variable or function.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/literal_in_interpolation.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/literal_in_interpolation.cr#L27" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -950,7 +950,7 @@ types like containers, range or regex.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/literals_comparison.cr#L19" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/literals_comparison.cr#L19" target="_blank">
ameba/rule/lint/literals_comparison.cr
</a>
@ -1037,6 +1037,8 @@ types like containers, range or regex.</p>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1096,8 +1098,6 @@ types like containers, range or regex.</p>
<div class="methods-inherited">
@ -1193,6 +1193,9 @@ types like containers, range or regex.</p>
@ -1200,6 +1203,9 @@ types like containers, range or regex.</p>
@ -1209,6 +1215,9 @@ types like containers, range or regex.</p>
@ -1276,7 +1285,44 @@ types like containers, range or regex.</p>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1290,13 +1336,6 @@ types like containers, range or regex.</p>
@ -1356,7 +1395,7 @@ types like containers, range or regex.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/literals_comparison.cr#L19" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/literals_comparison.cr#L19" target="_blank">View source</a>]
</div>
</div>
@ -1405,6 +1444,8 @@ types like containers, range or regex.</p>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1537,15 +1578,13 @@ types like containers, range or regex.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/literals_comparison.cr#L31" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/literals_comparison.cr#L31" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -952,7 +952,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/missing_block_argument.cr#L22" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/missing_block_argument.cr#L22" target="_blank">
ameba/rule/lint/missing_block_argument.cr
</a>
@ -1029,6 +1029,8 @@
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1093,8 +1095,6 @@
<div class="methods-inherited">
@ -1104,6 +1104,9 @@
@ -1112,6 +1115,9 @@
@ -1179,7 +1185,44 @@
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1193,13 +1236,6 @@
@ -1263,7 +1299,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/missing_block_argument.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/missing_block_argument.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1312,6 +1348,8 @@
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1444,7 +1482,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/missing_block_argument.cr#L34" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/missing_block_argument.cr#L34" target="_blank">View source</a>]
</div>
</div>
@ -1460,15 +1498,13 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/missing_block_argument.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/missing_block_argument.cr#L30" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -954,7 +954,7 @@ alice <span class="o">=</span> names.find { <span class="o">|</span>name<span cl
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/not_nil.cr#L28" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/not_nil.cr#L28" target="_blank">
ameba/rule/lint/not_nil.cr
</a>
@ -1031,6 +1031,8 @@ alice <span class="o">=</span> names.find { <span class="o">|</span>name<span cl
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1095,8 +1097,6 @@ alice <span class="o">=</span> names.find { <span class="o">|</span>name<span cl
<div class="methods-inherited">
@ -1106,6 +1106,9 @@ alice <span class="o">=</span> names.find { <span class="o">|</span>name<span cl
@ -1114,6 +1117,9 @@ alice <span class="o">=</span> names.find { <span class="o">|</span>name<span cl
@ -1181,7 +1187,44 @@ alice <span class="o">=</span> names.find { <span class="o">|</span>name<span cl
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1195,13 +1238,6 @@ alice <span class="o">=</span> names.find { <span class="o">|</span>name<span cl
@ -1267,7 +1303,7 @@ alice <span class="o">=</span> names.find { <span class="o">|</span>name<span cl
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/not_nil.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/not_nil.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -1316,6 +1352,8 @@ alice <span class="o">=</span> names.find { <span class="o">|</span>name<span cl
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1448,7 +1486,7 @@ alice <span class="o">=</span> names.find { <span class="o">|</span>name<span cl
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/not_nil.cr#L39" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/not_nil.cr#L39" target="_blank">View source</a>]
</div>
</div>
@ -1464,15 +1502,13 @@ alice <span class="o">=</span> names.find { <span class="o">|</span>name<span cl
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/not_nil.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/not_nil.cr#L35" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -951,7 +951,7 @@ followed by a call to <code>not_nil!</code>.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/not_nil_after_no_bang.cr#L23" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/not_nil_after_no_bang.cr#L23" target="_blank">
ameba/rule/lint/not_nil_after_no_bang.cr
</a>
@ -1038,6 +1038,8 @@ followed by a call to <code>not_nil!</code>.</p>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1102,8 +1104,6 @@ followed by a call to <code>not_nil!</code>.</p>
<div class="methods-inherited">
@ -1199,6 +1199,9 @@ followed by a call to <code>not_nil!</code>.</p>
@ -1206,6 +1209,9 @@ followed by a call to <code>not_nil!</code>.</p>
@ -1215,6 +1221,9 @@ followed by a call to <code>not_nil!</code>.</p>
@ -1282,7 +1291,44 @@ followed by a call to <code>not_nil!</code>.</p>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1296,13 +1342,6 @@ followed by a call to <code>not_nil!</code>.</p>
@ -1363,7 +1402,7 @@ followed by a call to <code>not_nil!</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/not_nil_after_no_bang.cr#L23" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/not_nil_after_no_bang.cr#L23" target="_blank">View source</a>]
</div>
</div>
@ -1412,6 +1451,8 @@ followed by a call to <code>not_nil!</code>.</p>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1544,7 +1585,7 @@ followed by a call to <code>not_nil!</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/not_nil_after_no_bang.cr#L39" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/not_nil_after_no_bang.cr#L39" target="_blank">View source</a>]
</div>
</div>
@ -1560,15 +1601,13 @@ followed by a call to <code>not_nil!</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/not_nil_after_no_bang.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/not_nil_after_no_bang.cr#L35" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -952,7 +952,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/percent_array.cr#L26" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/percent_array.cr#L26" target="_blank">
ameba/rule/lint/percent_array.cr
</a>
@ -1029,6 +1029,8 @@
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1108,8 +1110,6 @@
<div class="methods-inherited">
@ -1119,6 +1119,9 @@
@ -1127,6 +1130,9 @@
@ -1194,7 +1200,44 @@
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1208,13 +1251,6 @@
@ -1278,7 +1314,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/percent_array.cr#L26" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/percent_array.cr#L26" target="_blank">View source</a>]
</div>
</div>
@ -1327,6 +1363,8 @@
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1515,15 +1553,13 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/percent_array.cr#L36" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/percent_array.cr#L36" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -951,7 +951,7 @@ rand(<span class="n">2</span>)</code></pre>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/rand_zero.cr#L25" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/rand_zero.cr#L25" target="_blank">
ameba/rule/lint/rand_zero.cr
</a>
@ -1028,6 +1028,8 @@ rand(<span class="n">2</span>)</code></pre>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1087,8 +1089,6 @@ rand(<span class="n">2</span>)</code></pre>
<div class="methods-inherited">
@ -1098,6 +1098,9 @@ rand(<span class="n">2</span>)</code></pre>
@ -1106,6 +1109,9 @@ rand(<span class="n">2</span>)</code></pre>
@ -1173,7 +1179,44 @@ rand(<span class="n">2</span>)</code></pre>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1187,13 +1230,6 @@ rand(<span class="n">2</span>)</code></pre>
@ -1256,7 +1292,7 @@ rand(<span class="n">2</span>)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/rand_zero.cr#L25" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/rand_zero.cr#L25" target="_blank">View source</a>]
</div>
</div>
@ -1305,6 +1341,8 @@ rand(<span class="n">2</span>)</code></pre>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1437,15 +1475,13 @@ rand(<span class="n">2</span>)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/rand_zero.cr#L32" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/rand_zero.cr#L32" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -951,7 +951,7 @@ which is redundant.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/redundant_string_coercion.cr#L23" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/redundant_string_coercion.cr#L23" target="_blank">
ameba/rule/lint/redundant_string_coercion.cr
</a>
@ -1028,6 +1028,8 @@ which is redundant.</p>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1087,8 +1089,6 @@ which is redundant.</p>
<div class="methods-inherited">
@ -1184,6 +1184,9 @@ which is redundant.</p>
@ -1191,6 +1194,9 @@ which is redundant.</p>
@ -1200,6 +1206,9 @@ which is redundant.</p>
@ -1267,7 +1276,44 @@ which is redundant.</p>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1281,13 +1327,6 @@ which is redundant.</p>
@ -1348,7 +1387,7 @@ which is redundant.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/redundant_string_coercion.cr#L23" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/redundant_string_coercion.cr#L23" target="_blank">View source</a>]
</div>
</div>
@ -1397,6 +1436,8 @@ which is redundant.</p>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1529,15 +1570,13 @@ which is redundant.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/redundant_string_coercion.cr#L32" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/redundant_string_coercion.cr#L32" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -956,7 +956,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/452a7a8/src/ameba/rule/lint/redundant_with_index.cr#L30" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/redundant_with_index.cr#L30" target="_blank">
ameba/rule/lint/redundant_with_index.cr
</a>
@ -1014,6 +1014,8 @@ collection.each_with_index <span class="k">do</span> <span class="o">|</span>e,
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1073,8 +1075,6 @@ collection.each_with_index <span class="k">do</span> <span class="o">|</span>e,
<div class="methods-inherited">
@ -1084,6 +1084,9 @@ collection.each_with_index <span class="k">do</span> <span class="o">|</span>e,
@ -1092,6 +1095,9 @@ collection.each_with_index <span class="k">do</span> <span class="o">|</span>e,
@ -1159,7 +1165,44 @@ collection.each_with_index <span class="k">do</span> <span class="o">|</span>e,
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1173,13 +1216,6 @@ collection.each_with_index <span class="k">do</span> <span class="o">|</span>e,
@ -1247,7 +1283,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/452a7a8/src/ameba/rule/lint/redundant_with_index.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/redundant_with_index.cr#L30" target="_blank">View source</a>]
</div>
</div>
@ -1296,6 +1332,8 @@ collection.each_with_index <span class="k">do</span> <span class="o">|</span>e,
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1428,15 +1466,13 @@ 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/452a7a8/src/ameba/rule/lint/redundant_with_index.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/redundant_with_index.cr#L35" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -956,7 +956,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/452a7a8/src/ameba/rule/lint/redundant_with_object.cr#L30" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/redundant_with_object.cr#L30" target="_blank">
ameba/rule/lint/redundant_with_object.cr
</a>
@ -1033,6 +1033,8 @@ collection.each_with_object(<span class="n">0</span>) <span class="k">do</span>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1092,8 +1094,6 @@ collection.each_with_object(<span class="n">0</span>) <span class="k">do</span>
<div class="methods-inherited">
@ -1103,6 +1103,9 @@ collection.each_with_object(<span class="n">0</span>) <span class="k">do</span>
@ -1111,6 +1114,9 @@ collection.each_with_object(<span class="n">0</span>) <span class="k">do</span>
@ -1178,7 +1184,44 @@ collection.each_with_object(<span class="n">0</span>) <span class="k">do</span>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1192,13 +1235,6 @@ collection.each_with_object(<span class="n">0</span>) <span class="k">do</span>
@ -1266,7 +1302,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/452a7a8/src/ameba/rule/lint/redundant_with_object.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/redundant_with_object.cr#L30" target="_blank">View source</a>]
</div>
</div>
@ -1315,6 +1351,8 @@ collection.each_with_object(<span class="n">0</span>) <span class="k">do</span>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1447,15 +1485,13 @@ 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/452a7a8/src/ameba/rule/lint/redundant_with_object.cr#L37" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/redundant_with_object.cr#L37" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -964,7 +964,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/shadowed_argument.cr#L38" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/shadowed_argument.cr#L38" target="_blank">
ameba/rule/lint/shadowed_argument.cr
</a>
@ -1041,6 +1041,8 @@
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1105,8 +1107,6 @@
<div class="methods-inherited">
@ -1116,6 +1116,9 @@
@ -1124,6 +1127,9 @@
@ -1191,7 +1197,44 @@
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1205,13 +1248,6 @@
@ -1287,7 +1323,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/shadowed_argument.cr#L38" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/shadowed_argument.cr#L38" target="_blank">View source</a>]
</div>
</div>
@ -1336,6 +1372,8 @@
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1468,7 +1506,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/shadowed_argument.cr#L49" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/shadowed_argument.cr#L49" target="_blank">View source</a>]
</div>
</div>
@ -1484,15 +1522,13 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/shadowed_argument.cr#L45" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/shadowed_argument.cr#L45" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -962,7 +962,7 @@ exception is rescued.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/shadowed_exception.cr#L36" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/shadowed_exception.cr#L36" target="_blank">
ameba/rule/lint/shadowed_exception.cr
</a>
@ -1039,6 +1039,8 @@ exception is rescued.</p>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1098,8 +1100,6 @@ exception is rescued.</p>
<div class="methods-inherited">
@ -1109,6 +1109,9 @@ exception is rescued.</p>
@ -1117,6 +1120,9 @@ exception is rescued.</p>
@ -1184,7 +1190,44 @@ exception is rescued.</p>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1198,13 +1241,6 @@ exception is rescued.</p>
@ -1278,7 +1314,7 @@ exception is rescued.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/shadowed_exception.cr#L36" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/shadowed_exception.cr#L36" target="_blank">View source</a>]
</div>
</div>
@ -1327,6 +1363,8 @@ exception is rescued.</p>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1459,15 +1497,13 @@ exception is rescued.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/shadowed_exception.cr#L43" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/shadowed_exception.cr#L43" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -959,7 +959,7 @@ for block or proc arguments.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/shadowing_outer_local_var.cr#L33" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/shadowing_outer_local_var.cr#L33" target="_blank">
ameba/rule/lint/shadowing_outer_local_var.cr
</a>
@ -1036,6 +1036,8 @@ for block or proc arguments.</p>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1100,8 +1102,6 @@ for block or proc arguments.</p>
<div class="methods-inherited">
@ -1111,6 +1111,9 @@ for block or proc arguments.</p>
@ -1119,6 +1122,9 @@ for block or proc arguments.</p>
@ -1186,7 +1192,44 @@ for block or proc arguments.</p>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1200,13 +1243,6 @@ for block or proc arguments.</p>
@ -1277,7 +1313,7 @@ for block or proc arguments.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/shadowing_outer_local_var.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/shadowing_outer_local_var.cr#L33" target="_blank">View source</a>]
</div>
</div>
@ -1326,6 +1362,8 @@ for block or proc arguments.</p>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1458,7 +1496,7 @@ for block or proc arguments.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/shadowing_outer_local_var.cr#L48" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/shadowing_outer_local_var.cr#L48" target="_blank">View source</a>]
</div>
</div>
@ -1474,15 +1512,13 @@ for block or proc arguments.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/shadowing_outer_local_var.cr#L41" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/shadowing_outer_local_var.cr#L41" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -974,7 +974,7 @@ the second one.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/shared_var_in_fiber.cr#L52" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/shared_var_in_fiber.cr#L52" target="_blank">
ameba/rule/lint/shared_var_in_fiber.cr
</a>
@ -1051,6 +1051,8 @@ the second one.</p>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1115,8 +1117,6 @@ the second one.</p>
<div class="methods-inherited">
@ -1126,6 +1126,9 @@ the second one.</p>
@ -1134,6 +1137,9 @@ the second one.</p>
@ -1201,7 +1207,44 @@ the second one.</p>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1215,13 +1258,6 @@ the second one.</p>
@ -1307,7 +1343,7 @@ the second one.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/shared_var_in_fiber.cr#L52" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/shared_var_in_fiber.cr#L52" target="_blank">View source</a>]
</div>
</div>
@ -1356,6 +1392,8 @@ the second one.</p>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1488,7 +1526,7 @@ the second one.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/shared_var_in_fiber.cr#L63" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/shared_var_in_fiber.cr#L63" target="_blank">View source</a>]
</div>
</div>
@ -1504,15 +1542,13 @@ the second one.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/shared_var_in_fiber.cr#L59" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/shared_var_in_fiber.cr#L59" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -944,7 +944,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/spec_filename.cr#L12" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/spec_filename.cr#L12" target="_blank">
ameba/rule/lint/spec_filename.cr
</a>
@ -1021,6 +1021,8 @@
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1102,8 +1104,6 @@
<div class="methods-inherited">
@ -1113,6 +1113,9 @@
@ -1121,6 +1124,9 @@
@ -1188,7 +1194,44 @@
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1202,13 +1245,6 @@
@ -1264,7 +1300,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/spec_filename.cr#L12" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/spec_filename.cr#L12" target="_blank">View source</a>]
</div>
</div>
@ -1313,6 +1349,8 @@
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1506,15 +1544,13 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/spec_filename.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/spec_filename.cr#L24" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -972,7 +972,7 @@ it <span class="s">&quot;works&quot;</span> <span class="k">do</span>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/spec_focus.cr#L47" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/spec_focus.cr#L47" target="_blank">
ameba/rule/lint/spec_focus.cr
</a>
@ -1054,6 +1054,8 @@ it <span class="s">&quot;works&quot;</span> <span class="k">do</span>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1118,8 +1120,6 @@ it <span class="s">&quot;works&quot;</span> <span class="k">do</span>
<div class="methods-inherited">
@ -1129,6 +1129,9 @@ it <span class="s">&quot;works&quot;</span> <span class="k">do</span>
@ -1137,6 +1140,9 @@ it <span class="s">&quot;works&quot;</span> <span class="k">do</span>
@ -1204,7 +1210,44 @@ it <span class="s">&quot;works&quot;</span> <span class="k">do</span>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1218,13 +1261,6 @@ it <span class="s">&quot;works&quot;</span> <span class="k">do</span>
@ -1308,7 +1344,7 @@ it <span class="s">&quot;works&quot;</span> <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/spec_focus.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/spec_focus.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1357,6 +1393,8 @@ it <span class="s">&quot;works&quot;</span> <span class="k">do</span>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1489,7 +1527,7 @@ it <span class="s">&quot;works&quot;</span> <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/spec_focus.cr#L62" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/spec_focus.cr#L62" target="_blank">View source</a>]
</div>
</div>
@ -1505,15 +1543,13 @@ it <span class="s">&quot;works&quot;</span> <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/spec_focus.cr#L56" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/spec_focus.cr#L56" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -951,7 +951,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/syntax.cr#L21" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/syntax.cr#L21" target="_blank">
ameba/rule/lint/syntax.cr
</a>
@ -1009,6 +1009,8 @@
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1068,8 +1070,6 @@
<div class="methods-inherited">
@ -1079,6 +1079,9 @@
@ -1087,6 +1090,9 @@
@ -1154,7 +1160,44 @@
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1168,13 +1211,6 @@
@ -1237,7 +1273,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/syntax.cr#L21" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/syntax.cr#L21" target="_blank">View source</a>]
</div>
</div>
@ -1286,6 +1322,8 @@
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1418,15 +1456,13 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/syntax.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/syntax.cr#L27" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -948,7 +948,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/typos.cr#L15" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/typos.cr#L15" target="_blank">
ameba/rule/lint/typos.cr
</a>
@ -1030,6 +1030,8 @@
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1111,8 +1113,6 @@
<div class="methods-inherited">
@ -1122,6 +1122,9 @@
@ -1130,6 +1133,9 @@
@ -1197,7 +1203,44 @@
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1211,13 +1254,6 @@
@ -1277,7 +1313,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/typos.cr#L15" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/typos.cr#L15" target="_blank">View source</a>]
</div>
</div>
@ -1326,6 +1362,8 @@
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1346,7 +1384,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/typos.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/typos.cr#L27" target="_blank">View source</a>]
</div>
</div>
@ -1521,22 +1559,20 @@
<p>This method is designed to test the source passed in. If source has issues
that are tested by this rule, it should add an issue.</p>
<p>Be default it uses a node visitor to traverse all the nodes in the source.</p>
<p>By default it uses a node visitor to traverse all the nodes in the source.</p>
<p><span class="flag purple">NOTE</span> Must be overridden for other type of rules.</p>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/typos.cr#L31" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/typos.cr#L31" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -954,7 +954,7 @@ have any effect, the snippet should be written as the following:</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/unneeded_disable_directive.cr#L27" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/unneeded_disable_directive.cr#L27" target="_blank">
ameba/rule/lint/unneeded_disable_directive.cr
</a>
@ -1031,6 +1031,8 @@ have any effect, the snippet should be written as the following:</p>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1090,8 +1092,6 @@ have any effect, the snippet should be written as the following:</p>
<div class="methods-inherited">
@ -1101,6 +1101,9 @@ have any effect, the snippet should be written as the following:</p>
@ -1109,6 +1112,9 @@ have any effect, the snippet should be written as the following:</p>
@ -1176,7 +1182,44 @@ have any effect, the snippet should be written as the following:</p>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1190,13 +1233,6 @@ have any effect, the snippet should be written as the following:</p>
@ -1262,7 +1298,7 @@ have any effect, the snippet should be written as the following:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/unneeded_disable_directive.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/unneeded_disable_directive.cr#L27" target="_blank">View source</a>]
</div>
</div>
@ -1311,6 +1347,8 @@ have any effect, the snippet should be written as the following:</p>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1443,15 +1481,13 @@ have any effect, the snippet should be written as the following:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/unneeded_disable_directive.cr#L34" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/unneeded_disable_directive.cr#L34" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -964,7 +964,7 @@ loop <span class="k">do</span>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/unreachable_code.cr#L44" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/unreachable_code.cr#L44" target="_blank">
ameba/rule/lint/unreachable_code.cr
</a>
@ -1041,6 +1041,8 @@ loop <span class="k">do</span>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1105,8 +1107,6 @@ loop <span class="k">do</span>
<div class="methods-inherited">
@ -1116,6 +1116,9 @@ loop <span class="k">do</span>
@ -1124,6 +1127,9 @@ loop <span class="k">do</span>
@ -1191,7 +1197,44 @@ loop <span class="k">do</span>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1205,13 +1248,6 @@ loop <span class="k">do</span>
@ -1287,7 +1323,7 @@ loop <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/unreachable_code.cr#L44" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/unreachable_code.cr#L44" target="_blank">View source</a>]
</div>
</div>
@ -1336,6 +1372,8 @@ loop <span class="k">do</span>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1468,7 +1506,7 @@ loop <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/unreachable_code.cr#L55" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/unreachable_code.cr#L55" target="_blank">View source</a>]
</div>
</div>
@ -1484,15 +1522,13 @@ loop <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/unreachable_code.cr#L51" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/unreachable_code.cr#L51" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -955,7 +955,7 @@ For example, this is considered invalid:</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/unused_argument.cr#L28" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/unused_argument.cr#L28" target="_blank">
ameba/rule/lint/unused_argument.cr
</a>
@ -1032,6 +1032,8 @@ For example, this is considered invalid:</p>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1136,8 +1138,6 @@ For example, this is considered invalid:</p>
<div class="methods-inherited">
@ -1147,6 +1147,9 @@ For example, this is considered invalid:</p>
@ -1155,6 +1158,9 @@ For example, this is considered invalid:</p>
@ -1222,7 +1228,44 @@ For example, this is considered invalid:</p>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1236,13 +1279,6 @@ For example, this is considered invalid:</p>
@ -1309,7 +1345,7 @@ For example, this is considered invalid:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/unused_argument.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/unused_argument.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -1358,6 +1394,8 @@ For example, this is considered invalid:</p>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1574,7 +1612,7 @@ For example, this is considered invalid:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/unused_argument.cr#L44" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/unused_argument.cr#L44" target="_blank">View source</a>]
</div>
</div>
@ -1590,7 +1628,7 @@ For example, this is considered invalid:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/unused_argument.cr#L48" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/unused_argument.cr#L48" target="_blank">View source</a>]
</div>
</div>
@ -1606,7 +1644,7 @@ For example, this is considered invalid:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/unused_argument.cr#L52" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/unused_argument.cr#L52" target="_blank">View source</a>]
</div>
</div>
@ -1622,15 +1660,13 @@ For example, this is considered invalid:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/unused_argument.cr#L40" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/unused_argument.cr#L40" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -960,7 +960,7 @@ For example, this is considered invalid:</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/unused_block_argument.cr#L33" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/unused_block_argument.cr#L33" target="_blank">
ameba/rule/lint/unused_block_argument.cr
</a>
@ -1042,6 +1042,8 @@ For example, this is considered invalid:</p>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1106,8 +1108,6 @@ For example, this is considered invalid:</p>
<div class="methods-inherited">
@ -1117,6 +1117,9 @@ For example, this is considered invalid:</p>
@ -1125,6 +1128,9 @@ For example, this is considered invalid:</p>
@ -1192,7 +1198,44 @@ For example, this is considered invalid:</p>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1206,13 +1249,6 @@ For example, this is considered invalid:</p>
@ -1284,7 +1320,7 @@ For example, this is considered invalid:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/unused_block_argument.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/unused_block_argument.cr#L33" target="_blank">View source</a>]
</div>
</div>
@ -1333,6 +1369,8 @@ For example, this is considered invalid:</p>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1465,7 +1503,7 @@ For example, this is considered invalid:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/unused_block_argument.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/unused_block_argument.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1481,15 +1519,13 @@ For example, this is considered invalid:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/unused_block_argument.cr#L43" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/unused_block_argument.cr#L43" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -955,7 +955,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/useless_assign.cr#L29" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/useless_assign.cr#L29" target="_blank">
ameba/rule/lint/useless_assign.cr
</a>
@ -1032,6 +1032,8 @@
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1106,8 +1108,6 @@
<div class="methods-inherited">
@ -1117,6 +1117,9 @@
@ -1125,6 +1128,9 @@
@ -1192,7 +1198,44 @@
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1206,13 +1249,6 @@
@ -1279,7 +1315,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/useless_assign.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/useless_assign.cr#L29" target="_blank">View source</a>]
</div>
</div>
@ -1328,6 +1364,8 @@
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1488,7 +1526,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/useless_assign.cr#L41" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/useless_assign.cr#L41" target="_blank">View source</a>]
</div>
</div>
@ -1504,15 +1542,13 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/useless_assign.cr#L37" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/useless_assign.cr#L37" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -959,7 +959,7 @@ where it is guaranteed to always return the same result.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/useless_condition_in_when.cr#L33" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/useless_condition_in_when.cr#L33" target="_blank">
ameba/rule/lint/useless_condition_in_when.cr
</a>
@ -1036,6 +1036,8 @@ where it is guaranteed to always return the same result.</p>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1095,8 +1097,6 @@ where it is guaranteed to always return the same result.</p>
<div class="methods-inherited">
@ -1106,6 +1106,9 @@ where it is guaranteed to always return the same result.</p>
@ -1114,6 +1117,9 @@ where it is guaranteed to always return the same result.</p>
@ -1181,7 +1187,44 @@ where it is guaranteed to always return the same result.</p>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1195,13 +1238,6 @@ where it is guaranteed to always return the same result.</p>
@ -1272,7 +1308,7 @@ where it is guaranteed to always return the same result.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/useless_condition_in_when.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/useless_condition_in_when.cr#L33" target="_blank">View source</a>]
</div>
</div>
@ -1321,6 +1357,8 @@ where it is guaranteed to always return the same result.</p>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1453,15 +1491,13 @@ where it is guaranteed to always return the same result.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/lint/useless_condition_in_when.cr#L50" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/lint/useless_condition_in_when.cr#L50" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -912,7 +912,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/metrics/cyclomatic_complexity.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/metrics/cyclomatic_complexity.cr#L1" target="_blank">
ameba/rule/metrics/cyclomatic_complexity.cr
</a>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -945,7 +945,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/metrics/cyclomatic_complexity.cr#L11" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/metrics/cyclomatic_complexity.cr#L11" target="_blank">
ameba/rule/metrics/cyclomatic_complexity.cr
</a>
@ -1022,6 +1022,8 @@
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1091,8 +1093,6 @@
<div class="methods-inherited">
@ -1102,6 +1102,9 @@
@ -1110,6 +1113,9 @@
@ -1177,7 +1183,44 @@
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1191,13 +1234,6 @@
@ -1254,7 +1290,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/metrics/cyclomatic_complexity.cr#L11" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/metrics/cyclomatic_complexity.cr#L11" target="_blank">View source</a>]
</div>
</div>
@ -1303,6 +1339,8 @@
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1463,15 +1501,13 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/metrics/cyclomatic_complexity.cr#L19" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/metrics/cyclomatic_complexity.cr#L19" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -912,84 +912,84 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/accessor_method_name.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/accessor_method_name.cr#L1" target="_blank">
ameba/rule/naming/accessor_method_name.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/ascii_identifiers.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/ascii_identifiers.cr#L1" target="_blank">
ameba/rule/naming/ascii_identifiers.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/binary_operator_parameter_name.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/binary_operator_parameter_name.cr#L1" target="_blank">
ameba/rule/naming/binary_operator_parameter_name.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/block_parameter_name.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/block_parameter_name.cr#L1" target="_blank">
ameba/rule/naming/block_parameter_name.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/constant_names.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/constant_names.cr#L1" target="_blank">
ameba/rule/naming/constant_names.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/filename.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/filename.cr#L1" target="_blank">
ameba/rule/naming/filename.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/method_names.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/method_names.cr#L1" target="_blank">
ameba/rule/naming/method_names.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/predicate_name.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/predicate_name.cr#L1" target="_blank">
ameba/rule/naming/predicate_name.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/query_bool_methods.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/query_bool_methods.cr#L1" target="_blank">
ameba/rule/naming/query_bool_methods.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/rescued_exceptions_variable_name.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/rescued_exceptions_variable_name.cr#L1" target="_blank">
ameba/rule/naming/rescued_exceptions_variable_name.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/type_names.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/type_names.cr#L1" target="_blank">
ameba/rule/naming/type_names.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/variable_names.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/variable_names.cr#L1" target="_blank">
ameba/rule/naming/variable_names.cr
</a>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -964,7 +964,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/accessor_method_name.cr#L38" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/accessor_method_name.cr#L38" target="_blank">
ameba/rule/naming/accessor_method_name.cr
</a>
@ -1041,6 +1041,8 @@
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1105,8 +1107,6 @@
<div class="methods-inherited">
@ -1116,6 +1116,9 @@
@ -1124,6 +1127,9 @@
@ -1191,7 +1197,44 @@
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1205,13 +1248,6 @@
@ -1287,7 +1323,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/accessor_method_name.cr#L38" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/accessor_method_name.cr#L38" target="_blank">View source</a>]
</div>
</div>
@ -1336,6 +1372,8 @@
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1468,7 +1506,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/accessor_method_name.cr#L45" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/accessor_method_name.cr#L45" target="_blank">View source</a>]
</div>
</div>
@ -1484,15 +1522,13 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/accessor_method_name.cr#L61" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/accessor_method_name.cr#L61" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -951,7 +951,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/ascii_identifiers.cr#L25" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/ascii_identifiers.cr#L25" target="_blank">
ameba/rule/naming/ascii_identifiers.cr
</a>
@ -1028,6 +1028,8 @@
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1122,8 +1124,6 @@
<div class="methods-inherited">
@ -1133,6 +1133,9 @@
@ -1141,6 +1144,9 @@
@ -1208,7 +1214,44 @@
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1222,13 +1265,6 @@
@ -1291,7 +1327,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/ascii_identifiers.cr#L25" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/ascii_identifiers.cr#L25" target="_blank">View source</a>]
</div>
</div>
@ -1340,6 +1376,8 @@
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1500,7 +1538,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/ascii_identifiers.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/ascii_identifiers.cr#L33" target="_blank">View source</a>]
</div>
</div>
@ -1516,7 +1554,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/ascii_identifiers.cr#L40" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/ascii_identifiers.cr#L40" target="_blank">View source</a>]
</div>
</div>
@ -1532,7 +1570,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/ascii_identifiers.cr#L46" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/ascii_identifiers.cr#L46" target="_blank">View source</a>]
</div>
</div>
@ -1548,7 +1586,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/ascii_identifiers.cr#L55" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/ascii_identifiers.cr#L55" target="_blank">View source</a>]
</div>
</div>
@ -1564,7 +1602,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/ascii_identifiers.cr#L64" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/ascii_identifiers.cr#L64" target="_blank">View source</a>]
</div>
</div>
@ -1580,15 +1618,13 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/ascii_identifiers.cr#L68" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/ascii_identifiers.cr#L68" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -956,7 +956,7 @@ their sole parameter named <code>other</code>.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/binary_operator_parameter_name.cr#L30" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/binary_operator_parameter_name.cr#L30" target="_blank">
ameba/rule/naming/binary_operator_parameter_name.cr
</a>
@ -1033,6 +1033,8 @@ their sole parameter named <code>other</code>.</p>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1102,8 +1104,6 @@ their sole parameter named <code>other</code>.</p>
<div class="methods-inherited">
@ -1113,6 +1113,9 @@ their sole parameter named <code>other</code>.</p>
@ -1121,6 +1124,9 @@ their sole parameter named <code>other</code>.</p>
@ -1188,7 +1194,44 @@ their sole parameter named <code>other</code>.</p>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1202,13 +1245,6 @@ their sole parameter named <code>other</code>.</p>
@ -1276,7 +1312,7 @@ their sole parameter named <code>other</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/binary_operator_parameter_name.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/binary_operator_parameter_name.cr#L30" target="_blank">View source</a>]
</div>
</div>
@ -1325,6 +1361,8 @@ their sole parameter named <code>other</code>.</p>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1485,15 +1523,13 @@ their sole parameter named <code>other</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/binary_operator_parameter_name.cr#L39" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/binary_operator_parameter_name.cr#L39" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -952,7 +952,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/block_parameter_name.cr#L26" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/block_parameter_name.cr#L26" target="_blank">
ameba/rule/naming/block_parameter_name.cr
</a>
@ -1029,6 +1029,8 @@
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1128,8 +1130,6 @@
<div class="methods-inherited">
@ -1139,6 +1139,9 @@
@ -1147,6 +1150,9 @@
@ -1214,7 +1220,44 @@
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1228,13 +1271,6 @@
@ -1298,7 +1334,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/block_parameter_name.cr#L26" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/block_parameter_name.cr#L26" target="_blank">View source</a>]
</div>
</div>
@ -1347,6 +1383,8 @@
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1591,15 +1629,13 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/block_parameter_name.cr#L37" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/block_parameter_name.cr#L37" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -950,7 +950,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/constant_names.cr#L24" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/constant_names.cr#L24" target="_blank">
ameba/rule/naming/constant_names.cr
</a>
@ -1027,6 +1027,8 @@
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1086,8 +1088,6 @@
<div class="methods-inherited">
@ -1097,6 +1097,9 @@
@ -1105,6 +1108,9 @@
@ -1172,7 +1178,44 @@
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1186,13 +1229,6 @@
@ -1254,7 +1290,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/constant_names.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/constant_names.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -1303,6 +1339,8 @@
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1435,15 +1473,13 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/constant_names.cr#L31" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/constant_names.cr#L31" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -944,7 +944,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/filename.cr#L10" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/filename.cr#L10" target="_blank">
ameba/rule/naming/filename.cr
</a>
@ -1021,6 +1021,8 @@
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1082,8 +1084,6 @@
<div class="methods-inherited">
@ -1093,6 +1093,9 @@
@ -1101,6 +1104,9 @@
@ -1168,7 +1174,44 @@
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1182,13 +1225,6 @@
@ -1244,7 +1280,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/filename.cr#L10" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/filename.cr#L10" target="_blank">View source</a>]
</div>
</div>
@ -1293,6 +1329,8 @@
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1430,22 +1468,20 @@
<p>This method is designed to test the source passed in. If source has issues
that are tested by this rule, it should add an issue.</p>
<p>Be default it uses a node visitor to traverse all the nodes in the source.</p>
<p>By default it uses a node visitor to traverse all the nodes in the source.</p>
<p><span class="flag purple">NOTE</span> Must be overridden for other type of rules.</p>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/filename.cr#L19" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/filename.cr#L19" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -966,7 +966,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/method_names.cr#L40" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/method_names.cr#L40" target="_blank">
ameba/rule/naming/method_names.cr
</a>
@ -1043,6 +1043,8 @@
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1102,8 +1104,6 @@
<div class="methods-inherited">
@ -1113,6 +1113,9 @@
@ -1121,6 +1124,9 @@
@ -1188,7 +1194,44 @@
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1202,13 +1245,6 @@
@ -1286,7 +1322,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/method_names.cr#L40" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/method_names.cr#L40" target="_blank">View source</a>]
</div>
</div>
@ -1335,6 +1371,8 @@
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1467,15 +1505,13 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/method_names.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/method_names.cr#L47" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -952,7 +952,7 @@ the ones that are not valid Crystal code (e.g. <code>is_404?</code>).</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/predicate_name.cr#L26" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/predicate_name.cr#L26" target="_blank">
ameba/rule/naming/predicate_name.cr
</a>
@ -1029,6 +1029,8 @@ the ones that are not valid Crystal code (e.g. <code>is_404?</code>).</p>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1088,8 +1090,6 @@ the ones that are not valid Crystal code (e.g. <code>is_404?</code>).</p>
<div class="methods-inherited">
@ -1099,6 +1099,9 @@ the ones that are not valid Crystal code (e.g. <code>is_404?</code>).</p>
@ -1107,6 +1110,9 @@ the ones that are not valid Crystal code (e.g. <code>is_404?</code>).</p>
@ -1174,7 +1180,44 @@ the ones that are not valid Crystal code (e.g. <code>is_404?</code>).</p>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1188,13 +1231,6 @@ the ones that are not valid Crystal code (e.g. <code>is_404?</code>).</p>
@ -1258,7 +1294,7 @@ the ones that are not valid Crystal code (e.g. <code>is_404?</code>).</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/predicate_name.cr#L26" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/predicate_name.cr#L26" target="_blank">View source</a>]
</div>
</div>
@ -1307,6 +1343,8 @@ the ones that are not valid Crystal code (e.g. <code>is_404?</code>).</p>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1439,15 +1477,13 @@ the ones that are not valid Crystal code (e.g. <code>is_404?</code>).</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/predicate_name.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/predicate_name.cr#L33" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -957,7 +957,7 @@ using <code>Object#(class_)property</code> or <code>Object#(class_)getter</code>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/query_bool_methods.cr#L29" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/query_bool_methods.cr#L29" target="_blank">
ameba/rule/naming/query_bool_methods.cr
</a>
@ -1039,6 +1039,8 @@ using <code>Object#(class_)property</code> or <code>Object#(class_)getter</code>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1098,8 +1100,6 @@ using <code>Object#(class_)property</code> or <code>Object#(class_)getter</code>
<div class="methods-inherited">
@ -1195,6 +1195,9 @@ using <code>Object#(class_)property</code> or <code>Object#(class_)getter</code>
@ -1202,6 +1205,9 @@ using <code>Object#(class_)property</code> or <code>Object#(class_)getter</code>
@ -1211,6 +1217,9 @@ using <code>Object#(class_)property</code> or <code>Object#(class_)getter</code>
@ -1278,7 +1287,44 @@ using <code>Object#(class_)property</code> or <code>Object#(class_)getter</code>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1292,13 +1338,6 @@ using <code>Object#(class_)property</code> or <code>Object#(class_)getter</code>
@ -1365,7 +1404,7 @@ using <code>Object#(class_)property</code> or <code>Object#(class_)getter</code>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/query_bool_methods.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/query_bool_methods.cr#L29" target="_blank">View source</a>]
</div>
</div>
@ -1414,6 +1453,8 @@ using <code>Object#(class_)property</code> or <code>Object#(class_)getter</code>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1546,15 +1587,13 @@ using <code>Object#(class_)property</code> or <code>Object#(class_)getter</code>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/query_bool_methods.cr#L40" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/query_bool_methods.cr#L40" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -957,7 +957,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/rescued_exceptions_variable_name.cr#L27" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/rescued_exceptions_variable_name.cr#L27" target="_blank">
ameba/rule/naming/rescued_exceptions_variable_name.cr
</a>
@ -1039,6 +1039,8 @@
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1108,8 +1110,6 @@
<div class="methods-inherited">
@ -1119,6 +1119,9 @@
@ -1127,6 +1130,9 @@
@ -1194,7 +1200,44 @@
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1208,13 +1251,6 @@
@ -1283,7 +1319,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/rescued_exceptions_variable_name.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/rescued_exceptions_variable_name.cr#L27" target="_blank">View source</a>]
</div>
</div>
@ -1332,6 +1368,8 @@
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1492,15 +1530,13 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/rescued_exceptions_variable_name.cr#L36" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/rescued_exceptions_variable_name.cr#L36" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -980,7 +980,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/type_names.cr#L54" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/type_names.cr#L54" target="_blank">
ameba/rule/naming/type_names.cr
</a>
@ -1057,6 +1057,8 @@
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1116,8 +1118,6 @@
<div class="methods-inherited">
@ -1127,6 +1127,9 @@
@ -1135,6 +1138,9 @@
@ -1202,7 +1208,44 @@
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1216,13 +1259,6 @@
@ -1314,7 +1350,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/type_names.cr#L54" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/type_names.cr#L54" target="_blank">View source</a>]
</div>
</div>
@ -1363,6 +1399,8 @@
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1495,15 +1533,13 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/type_names.cr#L61" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/type_names.cr#L61" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -951,7 +951,7 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/variable_names.cr#L25" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/variable_names.cr#L25" target="_blank">
ameba/rule/naming/variable_names.cr
</a>
@ -1028,6 +1028,8 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1094,8 +1096,6 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
<div class="methods-inherited">
@ -1105,6 +1105,9 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
@ -1113,6 +1116,9 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
@ -1180,7 +1186,44 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1194,13 +1237,6 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
@ -1263,7 +1299,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/452a7a8/src/ameba/rule/naming/variable_names.cr#L25" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/variable_names.cr#L25" target="_blank">View source</a>]
</div>
</div>
@ -1312,6 +1348,8 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1444,7 +1482,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/452a7a8/src/ameba/rule/naming/variable_names.cr#L36" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/variable_names.cr#L36" target="_blank">View source</a>]
</div>
</div>
@ -1465,22 +1503,20 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
<p>This method is designed to test the source passed in. If source has issues
that are tested by this rule, it should add an issue.</p>
<p>Be default it uses a node visitor to traverse all the nodes in the source.</p>
<p>By default it uses a node visitor to traverse all the nodes in the source.</p>
<p><span class="flag purple">NOTE</span> Must be overridden for other type of rules.</p>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/variable_names.cr#L32" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/variable_names.cr#L32" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -912,77 +912,77 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/any_after_filter.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/performance/any_instead_of_empty.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/performance/base.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/performance/chained_call_with_no_bang.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/performance/compact_after_map.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/performance/excessive_allocations.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/excessive_allocations.cr#L3" target="_blank">
ameba/rule/performance/excessive_allocations.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/first_last_after_filter.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/performance/flatten_after_map.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/performance/map_instead_of_block.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/performance/minmax_after_map.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/minmax_after_map.cr#L3" target="_blank">
ameba/rule/performance/minmax_after_map.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/size_after_filter.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/size_after_filter.cr#L3" target="_blank">
ameba/rule/performance/size_after_filter.cr
</a>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -955,7 +955,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/any_after_filter.cr#L29" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/any_after_filter.cr#L29" target="_blank">
ameba/rule/performance/any_after_filter.cr
</a>
@ -1034,6 +1034,8 @@
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1103,8 +1105,6 @@
<div class="methods-inherited">
@ -1200,6 +1200,9 @@
@ -1207,6 +1210,9 @@
@ -1216,6 +1222,9 @@
@ -1257,6 +1266,9 @@
@ -1265,6 +1277,9 @@
@ -1273,6 +1288,9 @@
@ -1340,7 +1358,44 @@
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1354,13 +1409,6 @@
@ -1442,7 +1490,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/any_after_filter.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/any_after_filter.cr#L29" target="_blank">View source</a>]
</div>
</div>
@ -1491,6 +1539,8 @@
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1651,15 +1701,13 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/any_after_filter.cr#L39" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/any_after_filter.cr#L39" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -953,7 +953,7 @@ one value present.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/any_instead_of_empty.cr#L30" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/any_instead_of_empty.cr#L30" target="_blank">
ameba/rule/performance/any_instead_of_empty.cr
</a>
@ -1032,6 +1032,8 @@ one value present.</p>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1091,8 +1093,6 @@ one value present.</p>
<div class="methods-inherited">
@ -1102,6 +1102,9 @@ one value present.</p>
@ -1110,6 +1113,9 @@ one value present.</p>
@ -1151,6 +1157,9 @@ one value present.</p>
@ -1159,6 +1168,9 @@ one value present.</p>
@ -1167,6 +1179,9 @@ one value present.</p>
@ -1234,7 +1249,44 @@ one value present.</p>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1248,13 +1300,6 @@ one value present.</p>
@ -1336,7 +1381,7 @@ one value present.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/any_instead_of_empty.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/any_instead_of_empty.cr#L30" target="_blank">View source</a>]
</div>
</div>
@ -1385,6 +1430,8 @@ one value present.</p>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1517,15 +1564,13 @@ one value present.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/any_instead_of_empty.cr#L37" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/any_instead_of_empty.cr#L37" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -973,7 +973,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/base.cr#L5" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/base.cr#L5" target="_blank">
ameba/rule/performance/base.cr
</a>
@ -1031,6 +1031,8 @@
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1052,8 +1054,6 @@
<div class="methods-inherited">
@ -1063,6 +1063,9 @@
@ -1071,6 +1074,9 @@
@ -1138,7 +1144,44 @@
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1152,13 +1195,6 @@
@ -1211,7 +1247,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/base.cr#L5" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/base.cr#L5" target="_blank">View source</a>]
</div>
</div>
@ -1260,6 +1296,8 @@
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1292,15 +1330,13 @@ source.valid?</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/base.cr#L6" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/base.cr#L6" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -965,7 +965,7 @@ chars <span class="o">=</span> names
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/chained_call_with_no_bang.cr#L39" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/chained_call_with_no_bang.cr#L39" target="_blank">
ameba/rule/performance/chained_call_with_no_bang.cr
</a>
@ -1053,6 +1053,8 @@ chars <span class="o">=</span> names
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1127,8 +1129,6 @@ chars <span class="o">=</span> names
<div class="methods-inherited">
@ -1224,6 +1224,9 @@ chars <span class="o">=</span> names
@ -1231,6 +1234,9 @@ chars <span class="o">=</span> names
@ -1240,6 +1246,9 @@ chars <span class="o">=</span> names
@ -1281,6 +1290,9 @@ chars <span class="o">=</span> names
@ -1289,6 +1301,9 @@ chars <span class="o">=</span> names
@ -1297,6 +1312,9 @@ chars <span class="o">=</span> names
@ -1364,7 +1382,44 @@ chars <span class="o">=</span> names
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1378,13 +1433,6 @@ chars <span class="o">=</span> names
@ -1486,7 +1534,7 @@ chars <span class="o">=</span> names
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/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/b6bd74e/src/ameba/rule/performance/chained_call_with_no_bang.cr#L39" target="_blank">View source</a>]
</div>
</div>
@ -1535,6 +1583,8 @@ chars <span class="o">=</span> names
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1695,7 +1745,7 @@ chars <span class="o">=</span> names
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/chained_call_with_no_bang.cr#L65" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/chained_call_with_no_bang.cr#L65" target="_blank">View source</a>]
</div>
</div>
@ -1711,15 +1761,13 @@ chars <span class="o">=</span> names
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/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/b6bd74e/src/ameba/rule/performance/chained_call_with_no_bang.cr#L61" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -950,7 +950,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/compact_after_map.cr#L24" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/compact_after_map.cr#L24" target="_blank">
ameba/rule/performance/compact_after_map.cr
</a>
@ -1029,6 +1029,8 @@
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1093,8 +1095,6 @@
<div class="methods-inherited">
@ -1190,6 +1190,9 @@
@ -1197,6 +1200,9 @@
@ -1206,6 +1212,9 @@
@ -1247,6 +1256,9 @@
@ -1255,6 +1267,9 @@
@ -1263,6 +1278,9 @@
@ -1330,7 +1348,44 @@
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1344,13 +1399,6 @@
@ -1422,7 +1470,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/compact_after_map.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/compact_after_map.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -1471,6 +1519,8 @@
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1603,7 +1653,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/compact_after_map.cr#L37" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/compact_after_map.cr#L37" target="_blank">View source</a>]
</div>
</div>
@ -1619,15 +1669,13 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/compact_after_map.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/compact_after_map.cr#L33" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -958,7 +958,7 @@ that can be avoided by using <code>each_&lt;member&gt;</code> instead of <code>&
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/excessive_allocations.cr#L32" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/excessive_allocations.cr#L32" target="_blank">
ameba/rule/performance/excessive_allocations.cr
</a>
@ -1037,6 +1037,8 @@ that can be avoided by using <code>each_&lt;member&gt;</code> instead of <code>&
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1111,8 +1113,6 @@ that can be avoided by using <code>each_&lt;member&gt;</code> instead of <code>&
<div class="methods-inherited">
@ -1208,6 +1208,9 @@ that can be avoided by using <code>each_&lt;member&gt;</code> instead of <code>&
@ -1215,6 +1218,9 @@ that can be avoided by using <code>each_&lt;member&gt;</code> instead of <code>&
@ -1224,6 +1230,9 @@ that can be avoided by using <code>each_&lt;member&gt;</code> instead of <code>&
@ -1265,6 +1274,9 @@ that can be avoided by using <code>each_&lt;member&gt;</code> instead of <code>&
@ -1273,6 +1285,9 @@ that can be avoided by using <code>each_&lt;member&gt;</code> instead of <code>&
@ -1281,6 +1296,9 @@ that can be avoided by using <code>each_&lt;member&gt;</code> instead of <code>&
@ -1348,7 +1366,44 @@ that can be avoided by using <code>each_&lt;member&gt;</code> instead of <code>&
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1362,13 +1417,6 @@ that can be avoided by using <code>each_&lt;member&gt;</code> instead of <code>&
@ -1456,7 +1504,7 @@ that can be avoided by using <code>each_&lt;member&gt;</code> instead of <code>&
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/excessive_allocations.cr#L32" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/excessive_allocations.cr#L32" target="_blank">View source</a>]
</div>
</div>
@ -1505,6 +1553,8 @@ that can be avoided by using <code>each_&lt;member&gt;</code> instead of <code>&
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1665,7 +1715,7 @@ that can be avoided by using <code>each_&lt;member&gt;</code> instead of <code>&
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/excessive_allocations.cr#L54" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/excessive_allocations.cr#L54" target="_blank">View source</a>]
</div>
</div>
@ -1681,15 +1731,13 @@ that can be avoided by using <code>each_&lt;member&gt;</code> instead of <code>&
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/excessive_allocations.cr#L50" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/excessive_allocations.cr#L50" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -954,7 +954,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/first_last_after_filter.cr#L28" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/first_last_after_filter.cr#L28" target="_blank">
ameba/rule/performance/first_last_after_filter.cr
</a>
@ -1043,6 +1043,8 @@
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1117,8 +1119,6 @@
<div class="methods-inherited">
@ -1214,6 +1214,9 @@
@ -1221,6 +1224,9 @@
@ -1230,6 +1236,9 @@
@ -1271,6 +1280,9 @@
@ -1279,6 +1291,9 @@
@ -1287,6 +1302,9 @@
@ -1354,7 +1372,44 @@
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1368,13 +1423,6 @@
@ -1454,7 +1502,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/first_last_after_filter.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/first_last_after_filter.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -1503,6 +1551,8 @@
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1663,7 +1713,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/first_last_after_filter.cr#L45" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/first_last_after_filter.cr#L45" target="_blank">View source</a>]
</div>
</div>
@ -1679,15 +1729,13 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/first_last_after_filter.cr#L41" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/first_last_after_filter.cr#L41" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -950,7 +950,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/flatten_after_map.cr#L24" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/flatten_after_map.cr#L24" target="_blank">
ameba/rule/performance/flatten_after_map.cr
</a>
@ -1029,6 +1029,8 @@
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1093,8 +1095,6 @@
<div class="methods-inherited">
@ -1190,6 +1190,9 @@
@ -1197,6 +1200,9 @@
@ -1206,6 +1212,9 @@
@ -1247,6 +1256,9 @@
@ -1255,6 +1267,9 @@
@ -1263,6 +1278,9 @@
@ -1330,7 +1348,44 @@
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1344,13 +1399,6 @@
@ -1422,7 +1470,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/flatten_after_map.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/flatten_after_map.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -1471,6 +1519,8 @@
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1603,7 +1653,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/flatten_after_map.cr#L37" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/flatten_after_map.cr#L37" target="_blank">View source</a>]
</div>
</div>
@ -1619,15 +1669,13 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/flatten_after_map.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/flatten_after_map.cr#L33" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -951,7 +951,7 @@ that follow <code>map</code>.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/map_instead_of_block.cr#L25" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/map_instead_of_block.cr#L25" target="_blank">
ameba/rule/performance/map_instead_of_block.cr
</a>
@ -1035,6 +1035,8 @@ that follow <code>map</code>.</p>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1099,8 +1101,6 @@ that follow <code>map</code>.</p>
<div class="methods-inherited">
@ -1196,6 +1196,9 @@ that follow <code>map</code>.</p>
@ -1203,6 +1206,9 @@ that follow <code>map</code>.</p>
@ -1212,6 +1218,9 @@ that follow <code>map</code>.</p>
@ -1253,6 +1262,9 @@ that follow <code>map</code>.</p>
@ -1261,6 +1273,9 @@ that follow <code>map</code>.</p>
@ -1269,6 +1284,9 @@ that follow <code>map</code>.</p>
@ -1336,7 +1354,44 @@ that follow <code>map</code>.</p>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1350,13 +1405,6 @@ that follow <code>map</code>.</p>
@ -1430,7 +1478,7 @@ that follow <code>map</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/map_instead_of_block.cr#L25" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/map_instead_of_block.cr#L25" target="_blank">View source</a>]
</div>
</div>
@ -1479,6 +1527,8 @@ that follow <code>map</code>.</p>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1611,7 +1661,7 @@ that follow <code>map</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/map_instead_of_block.cr#L40" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/map_instead_of_block.cr#L40" target="_blank">View source</a>]
</div>
</div>
@ -1627,15 +1677,13 @@ that follow <code>map</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/map_instead_of_block.cr#L36" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/map_instead_of_block.cr#L36" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -954,7 +954,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/minmax_after_map.cr#L28" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/minmax_after_map.cr#L28" target="_blank">
ameba/rule/performance/minmax_after_map.cr
</a>
@ -1038,6 +1038,8 @@
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1102,8 +1104,6 @@
<div class="methods-inherited">
@ -1199,6 +1199,9 @@
@ -1206,6 +1209,9 @@
@ -1215,6 +1221,9 @@
@ -1256,6 +1265,9 @@
@ -1264,6 +1276,9 @@
@ -1272,6 +1287,9 @@
@ -1339,7 +1357,44 @@
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1353,13 +1408,6 @@
@ -1439,7 +1487,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/minmax_after_map.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/minmax_after_map.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -1488,6 +1536,8 @@
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1620,7 +1670,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/minmax_after_map.cr#L42" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/minmax_after_map.cr#L42" target="_blank">View source</a>]
</div>
</div>
@ -1636,15 +1686,13 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/minmax_after_map.cr#L38" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/minmax_after_map.cr#L38" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -961,7 +961,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/size_after_filter.cr#L35" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/size_after_filter.cr#L35" target="_blank">
ameba/rule/performance/size_after_filter.cr
</a>
@ -1040,6 +1040,8 @@
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1114,8 +1116,6 @@
<div class="methods-inherited">
@ -1211,6 +1211,9 @@
@ -1218,6 +1221,9 @@
@ -1227,6 +1233,9 @@
@ -1268,6 +1277,9 @@
@ -1276,6 +1288,9 @@
@ -1284,6 +1299,9 @@
@ -1351,7 +1369,44 @@
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1365,13 +1420,6 @@
@ -1465,7 +1513,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/size_after_filter.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/size_after_filter.cr#L35" target="_blank">View source</a>]
</div>
</div>
@ -1514,6 +1562,8 @@
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1674,7 +1724,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/size_after_filter.cr#L49" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/size_after_filter.cr#L49" target="_blank">View source</a>]
</div>
</div>
@ -1690,15 +1740,13 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/performance/size_after_filter.cr#L45" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/performance/size_after_filter.cr#L45" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -912,84 +912,84 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/guard_clause.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/style/is_a_filter.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/style/is_a_nil.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/style/large_numbers.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/style/negated_conditions_in_unless.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/style/parentheses_around_condition.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/parentheses_around_condition.cr#L1" target="_blank">
ameba/rule/style/parentheses_around_condition.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/redundant_begin.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/style/redundant_next.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/style/redundant_return.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/style/unless_else.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/style/verbose_block.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/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/452a7a8/src/ameba/rule/style/while_true.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/while_true.cr#L1" target="_blank">
ameba/rule/style/while_true.cr
</a>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -987,7 +987,7 @@ ok</code></pre>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/guard_clause.cr#L54" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/guard_clause.cr#L54" target="_blank">
ameba/rule/style/guard_clause.cr
</a>
@ -1064,6 +1064,8 @@ ok</code></pre>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1138,8 +1140,6 @@ ok</code></pre>
<div class="methods-inherited">
@ -1235,6 +1235,9 @@ ok</code></pre>
@ -1242,6 +1245,9 @@ ok</code></pre>
@ -1251,6 +1257,9 @@ ok</code></pre>
@ -1318,7 +1327,44 @@ ok</code></pre>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1332,13 +1378,6 @@ ok</code></pre>
@ -1435,7 +1474,7 @@ ok</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/guard_clause.cr#L54" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/guard_clause.cr#L54" target="_blank">View source</a>]
</div>
</div>
@ -1484,6 +1523,8 @@ ok</code></pre>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1588,7 +1629,7 @@ ok</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/guard_clause.cr#L180" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/guard_clause.cr#L180" target="_blank">View source</a>]
</div>
</div>
@ -1632,7 +1673,7 @@ ok</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/guard_clause.cr#L71" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/guard_clause.cr#L71" target="_blank">View source</a>]
</div>
</div>
@ -1648,7 +1689,7 @@ ok</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/guard_clause.cr#L85" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/guard_clause.cr#L85" target="_blank">View source</a>]
</div>
</div>
@ -1664,15 +1705,13 @@ ok</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/guard_clause.cr#L65" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/guard_clause.cr#L65" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -969,7 +969,7 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># =&gt; tr
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/is_a_filter.cr#L41" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/is_a_filter.cr#L41" target="_blank">
ameba/rule/style/is_a_filter.cr
</a>
@ -1056,6 +1056,8 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># =&gt; tr
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1130,8 +1132,6 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># =&gt; tr
<div class="methods-inherited">
@ -1227,6 +1227,9 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># =&gt; tr
@ -1234,6 +1237,9 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># =&gt; tr
@ -1243,6 +1249,9 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># =&gt; tr
@ -1310,7 +1319,44 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># =&gt; tr
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1324,13 +1370,6 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># =&gt; tr
@ -1409,7 +1448,7 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># =&gt; tr
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/is_a_filter.cr#L41" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/is_a_filter.cr#L41" target="_blank">View source</a>]
</div>
</div>
@ -1458,6 +1497,8 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># =&gt; tr
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1618,7 +1659,7 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># =&gt; tr
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/is_a_filter.cr#L58" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/is_a_filter.cr#L58" target="_blank">View source</a>]
</div>
</div>
@ -1634,15 +1675,13 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># =&gt; tr
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/is_a_filter.cr#L54" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/is_a_filter.cr#L54" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -950,7 +950,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/is_a_nil.cr#L22" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/is_a_nil.cr#L22" target="_blank">
ameba/rule/style/is_a_nil.cr
</a>
@ -1027,6 +1027,8 @@
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1086,8 +1088,6 @@
<div class="methods-inherited">
@ -1183,6 +1183,9 @@
@ -1190,6 +1193,9 @@
@ -1199,6 +1205,9 @@
@ -1266,7 +1275,44 @@
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1280,13 +1326,6 @@
@ -1346,7 +1385,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/is_a_nil.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/is_a_nil.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1395,6 +1434,8 @@
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1527,15 +1568,13 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/is_a_nil.cr#L31" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/is_a_nil.cr#L31" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -955,7 +955,7 @@ large numbers more easily.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/large_numbers.cr#L29" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/large_numbers.cr#L29" target="_blank">
ameba/rule/style/large_numbers.cr
</a>
@ -1032,6 +1032,8 @@ large numbers more easily.</p>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1101,8 +1103,6 @@ large numbers more easily.</p>
<div class="methods-inherited">
@ -1112,6 +1112,9 @@ large numbers more easily.</p>
@ -1120,6 +1123,9 @@ large numbers more easily.</p>
@ -1187,7 +1193,44 @@ large numbers more easily.</p>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1201,13 +1244,6 @@ large numbers more easily.</p>
@ -1274,7 +1310,7 @@ large numbers more easily.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/large_numbers.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/large_numbers.cr#L29" target="_blank">View source</a>]
</div>
</div>
@ -1323,6 +1359,8 @@ large numbers more easily.</p>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1483,15 +1521,13 @@ large numbers more easily.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/large_numbers.cr#L38" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/large_numbers.cr#L38" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -954,7 +954,7 @@ that is executed if a negated condition is NOT met.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/negated_conditions_in_unless.cr#L29" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/negated_conditions_in_unless.cr#L29" target="_blank">
ameba/rule/style/negated_conditions_in_unless.cr
</a>
@ -1031,6 +1031,8 @@ that is executed if a negated condition is NOT met.</p>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1090,8 +1092,6 @@ that is executed if a negated condition is NOT met.</p>
<div class="methods-inherited">
@ -1101,6 +1101,9 @@ that is executed if a negated condition is NOT met.</p>
@ -1109,6 +1112,9 @@ that is executed if a negated condition is NOT met.</p>
@ -1176,7 +1182,44 @@ that is executed if a negated condition is NOT met.</p>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1190,13 +1233,6 @@ that is executed if a negated condition is NOT met.</p>
@ -1262,7 +1298,7 @@ that is executed if a negated condition is NOT met.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/negated_conditions_in_unless.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/negated_conditions_in_unless.cr#L29" target="_blank">View source</a>]
</div>
</div>
@ -1311,6 +1347,8 @@ that is executed if a negated condition is NOT met.</p>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1443,15 +1481,13 @@ that is executed if a negated condition is NOT met.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/negated_conditions_in_unless.cr#L36" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/negated_conditions_in_unless.cr#L36" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -955,7 +955,7 @@ around the condition of <code>if</code>, <code>unless</code>, <code>case</code>,
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/parentheses_around_condition.cr#L29" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/parentheses_around_condition.cr#L29" target="_blank">
ameba/rule/style/parentheses_around_condition.cr
</a>
@ -1037,6 +1037,8 @@ around the condition of <code>if</code>, <code>unless</code>, <code>case</code>,
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1116,8 +1118,6 @@ around the condition of <code>if</code>, <code>unless</code>, <code>case</code>,
<div class="methods-inherited">
@ -1127,6 +1127,9 @@ around the condition of <code>if</code>, <code>unless</code>, <code>case</code>,
@ -1135,6 +1138,9 @@ around the condition of <code>if</code>, <code>unless</code>, <code>case</code>,
@ -1202,7 +1208,44 @@ around the condition of <code>if</code>, <code>unless</code>, <code>case</code>,
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1216,13 +1259,6 @@ around the condition of <code>if</code>, <code>unless</code>, <code>case</code>,
@ -1289,7 +1325,7 @@ around the condition of <code>if</code>, <code>unless</code>, <code>case</code>,
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/parentheses_around_condition.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/parentheses_around_condition.cr#L29" target="_blank">View source</a>]
</div>
</div>
@ -1338,6 +1374,8 @@ around the condition of <code>if</code>, <code>unless</code>, <code>case</code>,
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1526,15 +1564,13 @@ around the condition of <code>if</code>, <code>unless</code>, <code>case</code>,
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/parentheses_around_condition.cr#L55" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/parentheses_around_condition.cr#L55" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -979,7 +979,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/redundant_begin.cr#L58" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/redundant_begin.cr#L58" target="_blank">
ameba/rule/style/redundant_begin.cr
</a>
@ -1056,6 +1056,8 @@
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1115,8 +1117,6 @@
<div class="methods-inherited">
@ -1212,6 +1212,9 @@
@ -1219,6 +1222,9 @@
@ -1228,6 +1234,9 @@
@ -1295,7 +1304,44 @@
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1309,13 +1355,6 @@
@ -1404,7 +1443,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/redundant_begin.cr#L58" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/redundant_begin.cr#L58" target="_blank">View source</a>]
</div>
</div>
@ -1453,6 +1492,8 @@
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1585,15 +1626,13 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/redundant_begin.cr#L67" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/redundant_begin.cr#L67" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -1014,7 +1014,7 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/redundant_next.cr#L99" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/redundant_next.cr#L99" target="_blank">
ameba/rule/style/redundant_next.cr
</a>
@ -1091,6 +1091,8 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1175,8 +1177,6 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
<div class="methods-inherited">
@ -1272,6 +1272,9 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
@ -1279,6 +1282,9 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
@ -1288,6 +1294,9 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
@ -1355,7 +1364,44 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1369,13 +1415,6 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
@ -1499,7 +1538,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/452a7a8/src/ameba/rule/style/redundant_next.cr#L99" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/redundant_next.cr#L99" target="_blank">View source</a>]
</div>
</div>
@ -1548,6 +1587,8 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1736,7 +1777,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/452a7a8/src/ameba/rule/style/redundant_next.cr#L115" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/redundant_next.cr#L115" target="_blank">View source</a>]
</div>
</div>
@ -1752,15 +1793,13 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/redundant_next.cr#L111" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/redundant_next.cr#L111" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -1011,7 +1011,7 @@ without arguments. Sometimes such returns are used to return the <code>nil</code
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/redundant_return.cr#L96" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/redundant_return.cr#L96" target="_blank">
ameba/rule/style/redundant_return.cr
</a>
@ -1088,6 +1088,8 @@ without arguments. Sometimes such returns are used to return the <code>nil</code
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1172,8 +1174,6 @@ without arguments. Sometimes such returns are used to return the <code>nil</code
<div class="methods-inherited">
@ -1269,6 +1269,9 @@ without arguments. Sometimes such returns are used to return the <code>nil</code
@ -1276,6 +1279,9 @@ without arguments. Sometimes such returns are used to return the <code>nil</code
@ -1285,6 +1291,9 @@ without arguments. Sometimes such returns are used to return the <code>nil</code
@ -1352,7 +1361,44 @@ without arguments. Sometimes such returns are used to return the <code>nil</code
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1366,13 +1412,6 @@ without arguments. Sometimes such returns are used to return the <code>nil</code
@ -1493,7 +1532,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/452a7a8/src/ameba/rule/style/redundant_return.cr#L96" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/redundant_return.cr#L96" target="_blank">View source</a>]
</div>
</div>
@ -1542,6 +1581,8 @@ without arguments. Sometimes such returns are used to return the <code>nil</code
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1730,7 +1771,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/452a7a8/src/ameba/rule/style/redundant_return.cr#L112" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/redundant_return.cr#L112" target="_blank">View source</a>]
</div>
</div>
@ -1746,15 +1787,13 @@ without arguments. Sometimes such returns are used to return the <code>nil</code
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/redundant_return.cr#L108" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/redundant_return.cr#L108" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -967,7 +967,7 @@ an <code>if</code>, so the previous invalid example would become this:</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/unless_else.cr#L45" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/unless_else.cr#L45" target="_blank">
ameba/rule/style/unless_else.cr
</a>
@ -1044,6 +1044,8 @@ an <code>if</code>, so the previous invalid example would become this:</p>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1103,8 +1105,6 @@ an <code>if</code>, so the previous invalid example would become this:</p>
<div class="methods-inherited">
@ -1114,6 +1114,9 @@ an <code>if</code>, so the previous invalid example would become this:</p>
@ -1122,6 +1125,9 @@ an <code>if</code>, so the previous invalid example would become this:</p>
@ -1189,7 +1195,44 @@ an <code>if</code>, so the previous invalid example would become this:</p>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1203,13 +1246,6 @@ an <code>if</code>, so the previous invalid example would become this:</p>
@ -1288,7 +1324,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/452a7a8/src/ameba/rule/style/unless_else.cr#L45" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/unless_else.cr#L45" target="_blank">View source</a>]
</div>
</div>
@ -1337,6 +1373,8 @@ an <code>if</code>, so the previous invalid example would become this:</p>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1469,15 +1507,13 @@ an <code>if</code>, so the previous invalid example would become this:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/unless_else.cr#L52" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/unless_else.cr#L52" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -958,7 +958,7 @@ argument as a receiver, that can be collapsed into a short form.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/verbose_block.cr#L30" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/verbose_block.cr#L30" target="_blank">
ameba/rule/style/verbose_block.cr
</a>
@ -1040,6 +1040,8 @@ argument as a receiver, that can be collapsed into a short form.</p>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1169,8 +1171,6 @@ argument as a receiver, that can be collapsed into a short form.</p>
<div class="methods-inherited">
@ -1266,6 +1266,9 @@ argument as a receiver, that can be collapsed into a short form.</p>
@ -1273,6 +1276,9 @@ argument as a receiver, that can be collapsed into a short form.</p>
@ -1282,6 +1288,9 @@ argument as a receiver, that can be collapsed into a short form.</p>
@ -1349,7 +1358,44 @@ argument as a receiver, that can be collapsed into a short form.</p>
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1363,13 +1409,6 @@ argument as a receiver, that can be collapsed into a short form.</p>
@ -1437,7 +1476,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/452a7a8/src/ameba/rule/style/verbose_block.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/verbose_block.cr#L30" target="_blank">View source</a>]
</div>
</div>
@ -1486,6 +1525,8 @@ argument as a receiver, that can be collapsed into a short form.</p>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1814,15 +1855,13 @@ argument as a receiver, that can be collapsed into a short form.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/verbose_block.cr#L218" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/verbose_block.cr#L215" target="_blank">View source</a>]
</div>
</div>
</div>
</body>

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="generator" content="Crystal Docs 1.10.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -954,7 +954,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/while_true.cr#L28" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/while_true.cr#L28" target="_blank">
ameba/rule/style/while_true.cr
</a>
@ -1031,6 +1031,8 @@
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
@ -1090,8 +1092,6 @@
<div class="methods-inherited">
@ -1101,6 +1101,9 @@
@ -1109,6 +1112,9 @@
@ -1176,7 +1182,44 @@
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
<span>issue_for(*args, **kwargs, &block)</span>
issue_for</a>
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
<span>properties(&block)</span>
properties</a>
@ -1190,13 +1233,6 @@
@ -1262,7 +1298,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/while_true.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/while_true.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -1311,6 +1347,8 @@
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
@ -1443,15 +1481,13 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/style/while_true.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/style/while_true.cr#L35" target="_blank">View source</a>]
</div>
</div>
</div>
</body>