Deploying to gh-pages from @ 4533e52aa5 🚀

This commit is contained in:
Sija 2022-12-11 12:28:13 +00:00
parent 2350a89133
commit 76aad1519b
125 changed files with 933 additions and 986 deletions

View file

@ -940,7 +940,7 @@ that are tested by this rule, it should add an issue.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/base.cr#L29" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/base.cr#L29" target="_blank">
ameba/rule/base.cr
</a>
@ -1046,7 +1046,7 @@ that are tested by this rule, it should add an issue.</p>
<li class="entry-summary">
<a href="#special%3F-instance-method" class="signature"><strong>#special?</strong></a>
<div class="summary"><p>Returns true if this rule is special and behaves differently than usual rules.</p></div>
<div class="summary"><p>Returns <code>true</code> if this rule is special and behaves differently than usual rules.</p></div>
</li>
@ -1177,7 +1177,7 @@ that are tested by this rule, it should add an issue.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/base.cr#L107" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/base.cr#L107" target="_blank">View source</a>]
</div>
</div>
@ -1201,7 +1201,7 @@ source.valid?</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/base.cr#L52" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/base.cr#L52" target="_blank">View source</a>]
</div>
</div>
@ -1225,7 +1225,7 @@ the one of the given source.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/base.cr#L90" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/base.cr#L90" target="_blank">View source</a>]
</div>
</div>
@ -1251,7 +1251,7 @@ the one of the given source.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/base.cr#L79" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/base.cr#L79" target="_blank">View source</a>]
</div>
</div>
@ -1281,7 +1281,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/150ba6c7/src/ameba/rule/base.cr#L111" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/base.cr#L111" target="_blank">View source</a>]
</div>
</div>
@ -1308,7 +1308,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/150ba6c7/src/ameba/rule/base.cr#L66" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/base.cr#L66" target="_blank">View source</a>]
</div>
</div>
@ -1323,7 +1323,7 @@ though usually the macro <code>def_hash</code> can be used to generate this meth
<div class="doc">
<p>Returns true if this rule is special and behaves differently than
<p>Returns <code>true</code> if this rule is special and behaves differently than
usual rules.</p>
<pre><code class="language-crystal">my_rule.special? <span class="c"># =&gt; true or false</span></code></pre>
</div>
@ -1331,7 +1331,7 @@ usual rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/base.cr#L103" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/base.cr#L103" target="_blank">View source</a>]
</div>
</div>
@ -1347,7 +1347,7 @@ usual rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/base.cr#L41" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/base.cr#L41" target="_blank">View source</a>]
</div>
</div>
@ -1371,7 +1371,7 @@ that are tested by this rule, it should add an issue.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/base.cr#L37" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/base.cr#L37" target="_blank">View source</a>]
</div>
</div>
@ -1399,7 +1399,7 @@ that are tested by this rule, it should add an issue.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/base.cr#L115" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/base.cr#L115" target="_blank">View source</a>]
</div>
</div>

View file

@ -776,21 +776,21 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/layout/line_length.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/layout/trailing_blank_lines.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/layout/trailing_whitespace.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/layout/trailing_whitespace.cr#L1" target="_blank">
ameba/rule/layout/trailing_whitespace.cr
</a>

View file

@ -809,7 +809,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/layout/line_length.cr#L11" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/layout/line_length.cr#L11" target="_blank">
ameba/rule/layout/line_length.cr
</a>
@ -1118,7 +1118,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/layout/line_length.cr#L11" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/layout/line_length.cr#L11" target="_blank">View source</a>]
</div>
</div>
@ -1327,7 +1327,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/layout/line_length.cr#L20" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/layout/line_length.cr#L20" target="_blank">View source</a>]
</div>
</div>

View file

@ -808,7 +808,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/layout/trailing_blank_lines.cr#L10" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/layout/trailing_blank_lines.cr#L10" target="_blank">
ameba/rule/layout/trailing_blank_lines.cr
</a>
@ -1111,7 +1111,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/layout/trailing_blank_lines.cr#L10" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/layout/trailing_blank_lines.cr#L10" target="_blank">View source</a>]
</div>
</div>
@ -1292,7 +1292,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/layout/trailing_blank_lines.cr#L18" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/layout/trailing_blank_lines.cr#L18" target="_blank">View source</a>]
</div>
</div>

View file

@ -808,7 +808,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/layout/trailing_whitespace.cr#L10" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/layout/trailing_whitespace.cr#L10" target="_blank">
ameba/rule/layout/trailing_whitespace.cr
</a>
@ -1106,7 +1106,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/layout/trailing_whitespace.cr#L10" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/layout/trailing_whitespace.cr#L10" target="_blank">View source</a>]
</div>
</div>
@ -1287,7 +1287,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/layout/trailing_whitespace.cr#L17" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/layout/trailing_whitespace.cr#L17" target="_blank">View source</a>]
</div>
</div>

View file

@ -776,224 +776,224 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/ambiguous_assignment.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/lint/bad_directive.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/lint/comparison_to_boolean.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/lint/debug_calls.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/lint/debugger_statement.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/lint/duplicated_require.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/lint/empty_ensure.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/lint/empty_expression.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/lint/empty_loop.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/lint/hash_duplicated_key.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/lint/literal_in_condition.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/lint/literal_in_interpolation.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/lint/literals_comparison.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/lint/not_nil.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/lint/not_nil_after_no_bang.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/lint/percent_array.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/lint/rand_zero.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/lint/redundant_string_coercion.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/lint/redundant_with_index.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/lint/redundant_with_object.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/lint/shadowed_argument.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/lint/shadowed_exception.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/lint/shadowing_outer_local_var.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/lint/shared_var_in_fiber.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/lint/spec_focus.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/lint/syntax.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/lint/unneeded_disable_directive.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/lint/unreachable_code.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/lint/unused_argument.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/lint/useless_assign.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/lint/useless_condition_in_when.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/useless_condition_in_when.cr#L1" target="_blank">
ameba/rule/lint/useless_condition_in_when.cr
</a>

View file

@ -819,7 +819,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/150ba6c7/src/ameba/rule/lint/ambiguous_assignment.cr#L20" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/ambiguous_assignment.cr#L20" target="_blank">
ameba/rule/lint/ambiguous_assignment.cr
</a>
@ -979,8 +979,8 @@ x <span class="o">!=</span> y <span class="c"># or x = !y</span></code></pre>
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -999,8 +999,8 @@ x <span class="o">!=</span> y <span class="c"># or x = !y</span></code></pre>
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1044,8 +1044,8 @@ x <span class="o">!=</span> y <span class="c"># or x = !y</span></code></pre>
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1225,7 +1225,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/150ba6c7/src/ameba/rule/lint/ambiguous_assignment.cr#L20" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/ambiguous_assignment.cr#L20" target="_blank">View source</a>]
</div>
</div>
@ -1406,7 +1406,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/150ba6c7/src/ameba/rule/lint/ambiguous_assignment.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/ambiguous_assignment.cr#L35" target="_blank">View source</a>]
</div>
</div>

View file

@ -814,7 +814,7 @@ to disable a rule that even doesn't exist:</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/bad_directive.cr#L20" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/bad_directive.cr#L20" target="_blank">
ameba/rule/lint/bad_directive.cr
</a>
@ -1128,7 +1128,7 @@ to disable a rule that even doesn't exist:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/bad_directive.cr#L20" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/bad_directive.cr#L20" target="_blank">View source</a>]
</div>
</div>
@ -1309,7 +1309,7 @@ to disable a rule that even doesn't exist:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/bad_directive.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/bad_directive.cr#L29" target="_blank">View source</a>]
</div>
</div>

View file

@ -817,7 +817,7 @@ or negating the variable.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/comparison_to_boolean.cr#L22" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/comparison_to_boolean.cr#L22" target="_blank">
ameba/rule/lint/comparison_to_boolean.cr
</a>
@ -977,8 +977,8 @@ or negating the variable.</p>
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -997,8 +997,8 @@ or negating the variable.</p>
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1042,8 +1042,8 @@ or negating the variable.</p>
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1221,7 +1221,7 @@ or negating the variable.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/comparison_to_boolean.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/comparison_to_boolean.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1402,7 +1402,7 @@ or negating the variable.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/comparison_to_boolean.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/comparison_to_boolean.cr#L33" target="_blank">View source</a>]
</div>
</div>

View file

@ -815,7 +815,7 @@ committed into our codebase.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/debug_calls.cr#L18" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/debug_calls.cr#L18" target="_blank">
ameba/rule/lint/debug_calls.cr
</a>
@ -1130,7 +1130,7 @@ committed into our codebase.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/debug_calls.cr#L18" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/debug_calls.cr#L18" target="_blank">View source</a>]
</div>
</div>
@ -1339,7 +1339,7 @@ committed into our codebase.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/debug_calls.cr#L26" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/debug_calls.cr#L26" target="_blank">View source</a>]
</div>
</div>

View file

@ -810,7 +810,7 @@ committed into our codebase.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/debugger_statement.cr#L13" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/debugger_statement.cr#L13" target="_blank">
ameba/rule/lint/debugger_statement.cr
</a>
@ -1110,7 +1110,7 @@ committed into our codebase.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/debugger_statement.cr#L13" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/debugger_statement.cr#L13" target="_blank">View source</a>]
</div>
</div>
@ -1291,7 +1291,7 @@ committed into our codebase.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/debugger_statement.cr#L20" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/debugger_statement.cr#L20" target="_blank">View source</a>]
</div>
</div>

View file

@ -811,7 +811,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/duplicated_require.cr#L16" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/duplicated_require.cr#L16" target="_blank">
ameba/rule/lint/duplicated_require.cr
</a>
@ -1112,7 +1112,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/duplicated_require.cr#L16" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/duplicated_require.cr#L16" target="_blank">View source</a>]
</div>
</div>
@ -1293,7 +1293,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/duplicated_require.cr#L23" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/duplicated_require.cr#L23" target="_blank">View source</a>]
</div>
</div>

View file

@ -830,7 +830,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/empty_ensure.cr#L41" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/empty_ensure.cr#L40" target="_blank">
ameba/rule/lint/empty_ensure.cr
</a>
@ -1150,7 +1150,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/empty_ensure.cr#L41" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/empty_ensure.cr#L40" target="_blank">View source</a>]
</div>
</div>
@ -1331,7 +1331,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/empty_ensure.cr#L48" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/empty_ensure.cr#L47" target="_blank">View source</a>]
</div>
</div>

View file

@ -822,7 +822,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/empty_expression.cr#L30" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/empty_expression.cr#L30" target="_blank">
ameba/rule/lint/empty_expression.cr
</a>
@ -987,8 +987,8 @@
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -1007,8 +1007,8 @@
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1052,8 +1052,8 @@
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1236,7 +1236,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/empty_expression.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/empty_expression.cr#L30" target="_blank">View source</a>]
</div>
</div>
@ -1417,7 +1417,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/empty_expression.cr#L40" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/empty_expression.cr#L40" target="_blank">View source</a>]
</div>
</div>
@ -1433,7 +1433,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/empty_expression.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/empty_expression.cr#L47" target="_blank">View source</a>]
</div>
</div>

View file

@ -832,7 +832,7 @@ loop <span class="k">do</span>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/empty_loop.cr#L40" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/empty_loop.cr#L40" target="_blank">
ameba/rule/lint/empty_loop.cr
</a>
@ -992,8 +992,8 @@ loop <span class="k">do</span>
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -1012,8 +1012,8 @@ loop <span class="k">do</span>
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1057,8 +1057,8 @@ loop <span class="k">do</span>
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1251,7 +1251,7 @@ loop <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/empty_loop.cr#L40" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/empty_loop.cr#L40" target="_blank">View source</a>]
</div>
</div>
@ -1432,7 +1432,7 @@ loop <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/empty_loop.cr#L49" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/empty_loop.cr#L49" target="_blank">View source</a>]
</div>
</div>
@ -1448,7 +1448,7 @@ loop <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/empty_loop.cr#L55" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/empty_loop.cr#L53" target="_blank">View source</a>]
</div>
</div>

View file

@ -812,7 +812,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/hash_duplicated_key.cr#L22" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/hash_duplicated_key.cr#L22" target="_blank">
ameba/rule/lint/hash_duplicated_key.cr
</a>
@ -1114,7 +1114,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/hash_duplicated_key.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/hash_duplicated_key.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1295,7 +1295,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/hash_duplicated_key.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/hash_duplicated_key.cr#L29" target="_blank">View source</a>]
</div>
</div>

View file

@ -819,7 +819,7 @@ in control expressions.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L27" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L27" target="_blank">
ameba/rule/lint/literal_assignments_in_expressions.cr
</a>
@ -974,8 +974,8 @@ in control expressions.</p>
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -994,8 +994,8 @@ in control expressions.</p>
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1039,8 +1039,8 @@ in control expressions.</p>
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1220,7 +1220,7 @@ in control expressions.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L27" target="_blank">View source</a>]
</div>
</div>
@ -1401,7 +1401,7 @@ in control expressions.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L36" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L36" target="_blank">View source</a>]
</div>
</div>

View file

@ -818,7 +818,7 @@ replaced with either the body of the construct, or deleted entirely.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literal_in_condition.cr#L22" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/literal_in_condition.cr#L23" target="_blank">
ameba/rule/lint/literal_in_condition.cr
</a>
@ -905,11 +905,6 @@ replaced with either the body of the construct, or deleted entirely.</p>
</h2>
<ul class="list-summary">
<li class="entry-summary">
<a href="#check_node%28source%2Cnode%29-instance-method" class="signature"><strong>#check_node</strong>(source, node)</a>
</li>
<li class="entry-summary">
<a href="#description%3AString-instance-method" class="signature"><strong>#description</strong> : String</a>
@ -978,8 +973,8 @@ replaced with either the body of the construct, or deleted entirely.</p>
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -998,8 +993,8 @@ replaced with either the body of the construct, or deleted entirely.</p>
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1043,8 +1038,8 @@ replaced with either the body of the construct, or deleted entirely.</p>
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1223,7 +1218,7 @@ replaced with either the body of the construct, or deleted entirely.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literal_in_condition.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/literal_in_condition.cr#L23" target="_blank">View source</a>]
</div>
</div>
@ -1281,22 +1276,6 @@ replaced with either the body of the construct, or deleted entirely.</p>
Instance Method Detail
</h2>
<div class="entry-detail" id="check_node(source,node)-instance-method">
<div class="signature">
def <strong>check_node</strong>(source, node)
<a class="method-permalink" href="#check_node%28source%2Cnode%29-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literal_in_condition.cr#L32" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="description:String-instance-method">
<div class="signature">
@ -1420,7 +1399,7 @@ replaced with either the body of the construct, or deleted entirely.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literal_in_condition.cr#L36" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/literal_in_condition.cr#L33" target="_blank">View source</a>]
</div>
</div>

View file

@ -814,7 +814,7 @@ that contain a literal value instead of a variable or function.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literal_in_interpolation.cr#L18" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/literal_in_interpolation.cr#L18" target="_blank">
ameba/rule/lint/literal_in_interpolation.cr
</a>
@ -969,8 +969,8 @@ that contain a literal value instead of a variable or function.</p>
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -989,8 +989,8 @@ that contain a literal value instead of a variable or function.</p>
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1034,8 +1034,8 @@ that contain a literal value instead of a variable or function.</p>
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1210,7 +1210,7 @@ that contain a literal value instead of a variable or function.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literal_in_interpolation.cr#L18" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/literal_in_interpolation.cr#L18" target="_blank">View source</a>]
</div>
</div>
@ -1391,7 +1391,7 @@ that contain a literal value instead of a variable or function.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literal_in_interpolation.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/literal_in_interpolation.cr#L27" target="_blank">View source</a>]
</div>
</div>

View file

@ -814,7 +814,7 @@ types like containers, range or regex.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literals_comparison.cr#L20" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/literals_comparison.cr#L19" target="_blank">
ameba/rule/lint/literals_comparison.cr
</a>
@ -956,13 +956,6 @@ types like containers, range or regex.</p>
</li>
<li class="entry-summary">
<a href="#test%28source%29-instance-method" class="signature"><strong>#test</strong>(source)</a>
<div class="summary"><p>Edge-case: <code>{{ T == Nil }}</code></p></div>
</li>
</ul>
@ -986,8 +979,8 @@ types like containers, range or regex.</p>
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -1006,8 +999,8 @@ types like containers, range or regex.</p>
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1051,8 +1044,8 @@ types like containers, range or regex.</p>
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1227,7 +1220,7 @@ types like containers, range or regex.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literals_comparison.cr#L20" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/literals_comparison.cr#L19" target="_blank">View source</a>]
</div>
</div>
@ -1408,32 +1401,7 @@ types like containers, range or regex.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literals_comparison.cr#L48" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="test(source)-instance-method">
<div class="signature">
def <strong>test</strong>(source)
<a class="method-permalink" href="#test%28source%29-instance-method">#</a>
</div>
<div class="doc">
<p>Edge-case: <code>{{ T == Nil }}</code></p>
<p>Current implementation just skips all macro contexts,
regardless of the free variable being present.</p>
<p>Ideally we should only check whether either of the sides
is a free var</p>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literals_comparison.cr#L39" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/literals_comparison.cr#L31" target="_blank">View source</a>]
</div>
</div>

View file

@ -820,7 +820,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/150ba6c7/src/ameba/rule/lint/not_nil.cr#L28" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/not_nil.cr#L28" target="_blank">
ameba/rule/lint/not_nil.cr
</a>
@ -985,8 +985,8 @@ alice <span class="o">=</span> names.find { <span class="o">|</span>name<span cl
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -1005,8 +1005,8 @@ alice <span class="o">=</span> names.find { <span class="o">|</span>name<span cl
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1050,8 +1050,8 @@ alice <span class="o">=</span> names.find { <span class="o">|</span>name<span cl
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1232,7 +1232,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/150ba6c7/src/ameba/rule/lint/not_nil.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/not_nil.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -1413,7 +1413,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/150ba6c7/src/ameba/rule/lint/not_nil.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/not_nil.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1429,7 +1429,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/150ba6c7/src/ameba/rule/lint/not_nil.cr#L38" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/not_nil.cr#L38" target="_blank">View source</a>]
</div>
</div>

View file

@ -814,7 +814,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/not_nil_after_no_bang.cr#L22" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/not_nil_after_no_bang.cr#L22" target="_blank">
ameba/rule/lint/not_nil_after_no_bang.cr
</a>
@ -989,8 +989,8 @@
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -1009,8 +1009,8 @@
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1054,8 +1054,8 @@
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1230,7 +1230,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/not_nil_after_no_bang.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/not_nil_after_no_bang.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1411,7 +1411,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/not_nil_after_no_bang.cr#L44" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/not_nil_after_no_bang.cr#L44" target="_blank">View source</a>]
</div>
</div>
@ -1427,7 +1427,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/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/4533e52a/src/ameba/rule/lint/not_nil_after_no_bang.cr#L35" target="_blank">View source</a>]
</div>
</div>

View file

@ -816,7 +816,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/percent_array.cr#L26" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/percent_array.cr#L26" target="_blank">
ameba/rule/lint/percent_array.cr
</a>
@ -1142,7 +1142,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/percent_array.cr#L26" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/percent_array.cr#L26" target="_blank">View source</a>]
</div>
</div>
@ -1379,7 +1379,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/percent_array.cr#L36" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/percent_array.cr#L36" target="_blank">View source</a>]
</div>
</div>

View file

@ -815,7 +815,7 @@ rand(<span class="n">2</span>)</code></pre>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/rand_zero.cr#L25" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/rand_zero.cr#L25" target="_blank">
ameba/rule/lint/rand_zero.cr
</a>
@ -1120,7 +1120,7 @@ rand(<span class="n">2</span>)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/rand_zero.cr#L25" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/rand_zero.cr#L25" target="_blank">View source</a>]
</div>
</div>
@ -1301,7 +1301,7 @@ rand(<span class="n">2</span>)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/rand_zero.cr#L32" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/rand_zero.cr#L32" target="_blank">View source</a>]
</div>
</div>

View file

@ -771,7 +771,7 @@ which is redundant.</p>
<p>And this is valid:</p>
<pre><code class="language-crystal"><span class="s">&quot;Hello, </span><span class="i">#{</span>name<span class="i">}</span><span class="s">&quot;</span></code></pre>
<p>YAML configuration example:</p>
<pre><code class="language-crystal"><span class="t">Lint</span><span class="o">/</span><span class="t">RedundantStringCoersion</span>
<pre><code class="language-crystal"><span class="t">Lint</span><span class="o">/</span><span class="t">RedundantStringCoercion</span>
<span class="t">Enabled</span>: <span class="n">true</span></code></pre>
@ -815,7 +815,7 @@ which is redundant.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/redundant_string_coercion.cr#L23" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/redundant_string_coercion.cr#L23" target="_blank">
ameba/rule/lint/redundant_string_coercion.cr
</a>
@ -970,8 +970,8 @@ which is redundant.</p>
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -990,8 +990,8 @@ which is redundant.</p>
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1035,8 +1035,8 @@ which is redundant.</p>
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1205,14 +1205,14 @@ which is redundant.</p>
<p>And this is valid:</p>
<pre><code class="language-crystal"><span class="s">&quot;Hello, </span><span class="i">#{</span>name<span class="i">}</span><span class="s">&quot;</span></code></pre>
<p>YAML configuration example:</p>
<pre><code class="language-crystal"><span class="t">Lint</span><span class="o">/</span><span class="t">RedundantStringCoersion</span>
<pre><code class="language-crystal"><span class="t">Lint</span><span class="o">/</span><span class="t">RedundantStringCoercion</span>
<span class="t">Enabled</span>: <span class="n">true</span></code></pre>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/redundant_string_coercion.cr#L23" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/redundant_string_coercion.cr#L23" target="_blank">View source</a>]
</div>
</div>
@ -1393,7 +1393,7 @@ which is redundant.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/redundant_string_coercion.cr#L32" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/redundant_string_coercion.cr#L32" target="_blank">View source</a>]
</div>
</div>

View file

@ -820,7 +820,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/150ba6c7/src/ameba/rule/lint/redundant_with_index.cr#L30" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/redundant_with_index.cr#L30" target="_blank">
ameba/rule/lint/redundant_with_index.cr
</a>
@ -1111,7 +1111,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/150ba6c7/src/ameba/rule/lint/redundant_with_index.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/redundant_with_index.cr#L30" target="_blank">View source</a>]
</div>
</div>
@ -1292,7 +1292,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/150ba6c7/src/ameba/rule/lint/redundant_with_index.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/redundant_with_index.cr#L35" target="_blank">View source</a>]
</div>
</div>

View file

@ -820,7 +820,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/150ba6c7/src/ameba/rule/lint/redundant_with_object.cr#L30" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/redundant_with_object.cr#L30" target="_blank">
ameba/rule/lint/redundant_with_object.cr
</a>
@ -1130,7 +1130,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/150ba6c7/src/ameba/rule/lint/redundant_with_object.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/redundant_with_object.cr#L30" target="_blank">View source</a>]
</div>
</div>
@ -1311,7 +1311,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/150ba6c7/src/ameba/rule/lint/redundant_with_object.cr#L37" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/redundant_with_object.cr#L37" target="_blank">View source</a>]
</div>
</div>

View file

@ -828,7 +828,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shadowed_argument.cr#L38" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/shadowed_argument.cr#L38" target="_blank">
ameba/rule/lint/shadowed_argument.cr
</a>
@ -1151,7 +1151,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shadowed_argument.cr#L38" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/shadowed_argument.cr#L38" target="_blank">View source</a>]
</div>
</div>
@ -1332,7 +1332,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shadowed_argument.cr#L49" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/shadowed_argument.cr#L49" target="_blank">View source</a>]
</div>
</div>
@ -1348,7 +1348,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shadowed_argument.cr#L45" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/shadowed_argument.cr#L45" target="_blank">View source</a>]
</div>
</div>

View file

@ -826,7 +826,7 @@ exception is rescued.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shadowed_exception.cr#L36" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/shadowed_exception.cr#L36" target="_blank">
ameba/rule/lint/shadowed_exception.cr
</a>
@ -1142,7 +1142,7 @@ exception is rescued.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shadowed_exception.cr#L36" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/shadowed_exception.cr#L36" target="_blank">View source</a>]
</div>
</div>
@ -1323,7 +1323,7 @@ exception is rescued.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shadowed_exception.cr#L43" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/shadowed_exception.cr#L43" target="_blank">View source</a>]
</div>
</div>

View file

@ -823,7 +823,7 @@ for block or proc arguments.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shadowing_outer_local_var.cr#L33" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/shadowing_outer_local_var.cr#L33" target="_blank">
ameba/rule/lint/shadowing_outer_local_var.cr
</a>
@ -1141,7 +1141,7 @@ for block or proc arguments.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shadowing_outer_local_var.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/shadowing_outer_local_var.cr#L33" target="_blank">View source</a>]
</div>
</div>
@ -1322,7 +1322,7 @@ for block or proc arguments.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shadowing_outer_local_var.cr#L48" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/shadowing_outer_local_var.cr#L48" target="_blank">View source</a>]
</div>
</div>
@ -1338,7 +1338,7 @@ for block or proc arguments.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shadowing_outer_local_var.cr#L41" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/shadowing_outer_local_var.cr#L41" target="_blank">View source</a>]
</div>
</div>

View file

@ -838,7 +838,7 @@ the second one.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shared_var_in_fiber.cr#L52" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/shared_var_in_fiber.cr#L52" target="_blank">
ameba/rule/lint/shared_var_in_fiber.cr
</a>
@ -1171,7 +1171,7 @@ the second one.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shared_var_in_fiber.cr#L52" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/shared_var_in_fiber.cr#L52" target="_blank">View source</a>]
</div>
</div>
@ -1352,7 +1352,7 @@ the second one.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shared_var_in_fiber.cr#L63" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/shared_var_in_fiber.cr#L63" target="_blank">View source</a>]
</div>
</div>
@ -1368,7 +1368,7 @@ the second one.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shared_var_in_fiber.cr#L59" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/shared_var_in_fiber.cr#L59" target="_blank">View source</a>]
</div>
</div>

View file

@ -836,7 +836,7 @@ it <span class="s">&quot;works&quot;</span> <span class="k">do</span>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/spec_focus.cr#L47" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/spec_focus.cr#L47" target="_blank">
ameba/rule/lint/spec_focus.cr
</a>
@ -1172,7 +1172,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/150ba6c7/src/ameba/rule/lint/spec_focus.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/spec_focus.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1353,7 +1353,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/150ba6c7/src/ameba/rule/lint/spec_focus.cr#L61" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/spec_focus.cr#L61" target="_blank">View source</a>]
</div>
</div>
@ -1369,7 +1369,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/150ba6c7/src/ameba/rule/lint/spec_focus.cr#L55" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/spec_focus.cr#L55" target="_blank">View source</a>]
</div>
</div>

View file

@ -815,7 +815,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/syntax.cr#L21" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/syntax.cr#L21" target="_blank">
ameba/rule/lint/syntax.cr
</a>
@ -1101,7 +1101,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/syntax.cr#L21" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/syntax.cr#L21" target="_blank">View source</a>]
</div>
</div>
@ -1282,7 +1282,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/syntax.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/syntax.cr#L27" target="_blank">View source</a>]
</div>
</div>

View file

@ -818,7 +818,7 @@ have any effect, the snippet should be written as the following:</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unneeded_disable_directive.cr#L27" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/unneeded_disable_directive.cr#L27" target="_blank">
ameba/rule/lint/unneeded_disable_directive.cr
</a>
@ -1126,7 +1126,7 @@ have any effect, the snippet should be written as the following:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unneeded_disable_directive.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/unneeded_disable_directive.cr#L27" target="_blank">View source</a>]
</div>
</div>
@ -1307,7 +1307,7 @@ have any effect, the snippet should be written as the following:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unneeded_disable_directive.cr#L34" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/unneeded_disable_directive.cr#L34" target="_blank">View source</a>]
</div>
</div>

View file

@ -830,7 +830,7 @@ loop <span class="k">do</span>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unreachable_code.cr#L44" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/unreachable_code.cr#L44" target="_blank">
ameba/rule/lint/unreachable_code.cr
</a>
@ -990,8 +990,8 @@ loop <span class="k">do</span>
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -1010,8 +1010,8 @@ loop <span class="k">do</span>
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1055,8 +1055,8 @@ loop <span class="k">do</span>
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1247,7 +1247,7 @@ loop <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unreachable_code.cr#L44" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/unreachable_code.cr#L44" target="_blank">View source</a>]
</div>
</div>
@ -1428,7 +1428,7 @@ loop <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unreachable_code.cr#L57" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/unreachable_code.cr#L57" target="_blank">View source</a>]
</div>
</div>
@ -1444,7 +1444,7 @@ loop <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unreachable_code.cr#L53" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/unreachable_code.cr#L53" target="_blank">View source</a>]
</div>
</div>

View file

@ -819,7 +819,7 @@ For example, this is considered invalid:</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unused_argument.cr#L27" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/unused_argument.cr#L28" target="_blank">
ameba/rule/lint/unused_argument.cr
</a>
@ -1173,7 +1173,7 @@ For example, this is considered invalid:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unused_argument.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/unused_argument.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -1438,7 +1438,7 @@ For example, this is considered invalid:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unused_argument.cr#L43" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/unused_argument.cr#L44" target="_blank">View source</a>]
</div>
</div>
@ -1454,7 +1454,7 @@ For example, this is considered invalid:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unused_argument.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/unused_argument.cr#L48" target="_blank">View source</a>]
</div>
</div>
@ -1470,7 +1470,7 @@ For example, this is considered invalid:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unused_argument.cr#L51" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/unused_argument.cr#L52" target="_blank">View source</a>]
</div>
</div>
@ -1486,7 +1486,7 @@ For example, this is considered invalid:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unused_argument.cr#L39" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/unused_argument.cr#L40" target="_blank">View source</a>]
</div>
</div>

View file

@ -818,7 +818,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/useless_assign.cr#L28" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/useless_assign.cr#L28" target="_blank">
ameba/rule/lint/useless_assign.cr
</a>
@ -1131,7 +1131,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/useless_assign.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/useless_assign.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -1312,7 +1312,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/useless_assign.cr#L39" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/useless_assign.cr#L39" target="_blank">View source</a>]
</div>
</div>
@ -1328,7 +1328,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/useless_assign.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/useless_assign.cr#L35" target="_blank">View source</a>]
</div>
</div>

View file

@ -823,7 +823,7 @@ where it is guaranteed to always return the same result.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/useless_condition_in_when.cr#L33" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/useless_condition_in_when.cr#L33" target="_blank">
ameba/rule/lint/useless_condition_in_when.cr
</a>
@ -1136,7 +1136,7 @@ where it is guaranteed to always return the same result.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/useless_condition_in_when.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/useless_condition_in_when.cr#L33" target="_blank">View source</a>]
</div>
</div>
@ -1317,7 +1317,7 @@ where it is guaranteed to always return the same result.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/useless_condition_in_when.cr#L50" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/useless_condition_in_when.cr#L50" target="_blank">View source</a>]
</div>
</div>

View file

@ -776,7 +776,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/metrics/cyclomatic_complexity.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/metrics/cyclomatic_complexity.cr#L1" target="_blank">
ameba/rule/metrics/cyclomatic_complexity.cr
</a>

View file

@ -811,7 +811,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/metrics/cyclomatic_complexity.cr#L11" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/metrics/cyclomatic_complexity.cr#L11" target="_blank">
ameba/rule/metrics/cyclomatic_complexity.cr
</a>
@ -976,8 +976,8 @@
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -996,8 +996,8 @@
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1041,8 +1041,8 @@
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1214,7 +1214,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/metrics/cyclomatic_complexity.cr#L11" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/metrics/cyclomatic_complexity.cr#L11" target="_blank">View source</a>]
</div>
</div>
@ -1423,7 +1423,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/metrics/cyclomatic_complexity.cr#L21" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/metrics/cyclomatic_complexity.cr#L21" target="_blank">View source</a>]
</div>
</div>

View file

@ -776,63 +776,63 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/any_after_filter.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/performance/any_instead_of_empty.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/performance/base.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/performance/chained_call_with_no_bang.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/performance/compact_after_map.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/performance/first_last_after_filter.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/performance/flatten_after_map.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/performance/map_instead_of_block.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/performance/size_after_filter.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/size_after_filter.cr#L3" target="_blank">
ameba/rule/performance/size_after_filter.cr
</a>

View file

@ -817,7 +817,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/any_after_filter.cr#L29" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/any_after_filter.cr#L29" target="_blank">
ameba/rule/performance/any_after_filter.cr
</a>
@ -1215,7 +1215,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/any_after_filter.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/any_after_filter.cr#L29" target="_blank">View source</a>]
</div>
</div>
@ -1424,7 +1424,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/any_after_filter.cr#L38" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/any_after_filter.cr#L38" target="_blank">View source</a>]
</div>
</div>

View file

@ -819,7 +819,7 @@ one value present.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/any_instead_of_empty.cr#L30" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/any_instead_of_empty.cr#L30" target="_blank">
ameba/rule/performance/any_instead_of_empty.cr
</a>
@ -981,8 +981,8 @@ one value present.</p>
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -1001,8 +1001,8 @@ one value present.</p>
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1046,8 +1046,8 @@ one value present.</p>
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1301,7 +1301,7 @@ one value present.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/any_instead_of_empty.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/any_instead_of_empty.cr#L30" target="_blank">View source</a>]
</div>
</div>
@ -1482,7 +1482,7 @@ one value present.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/any_instead_of_empty.cr#L40" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/any_instead_of_empty.cr#L40" target="_blank">View source</a>]
</div>
</div>

View file

@ -833,7 +833,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/base.cr#L5" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/base.cr#L5" target="_blank">
ameba/rule/performance/base.cr
</a>
@ -1071,7 +1071,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/base.cr#L5" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/base.cr#L5" target="_blank">View source</a>]
</div>
</div>
@ -1152,7 +1152,7 @@ source.valid?</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/base.cr#L6" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/base.cr#L6" target="_blank">View source</a>]
</div>
</div>

View file

@ -829,7 +829,7 @@ chars <span class="o">=</span> names
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/chained_call_with_no_bang.cr#L39" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/chained_call_with_no_bang.cr#L39" target="_blank">
ameba/rule/performance/chained_call_with_no_bang.cr
</a>
@ -1010,8 +1010,8 @@ chars <span class="o">=</span> names
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -1030,8 +1030,8 @@ chars <span class="o">=</span> names
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1075,8 +1075,8 @@ chars <span class="o">=</span> names
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1350,7 +1350,7 @@ chars <span class="o">=</span> names
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/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/4533e52a/src/ameba/rule/performance/chained_call_with_no_bang.cr#L39" target="_blank">View source</a>]
</div>
</div>
@ -1559,7 +1559,7 @@ chars <span class="o">=</span> names
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/chained_call_with_no_bang.cr#L70" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/chained_call_with_no_bang.cr#L70" target="_blank">View source</a>]
</div>
</div>
@ -1575,7 +1575,7 @@ chars <span class="o">=</span> names
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/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/4533e52a/src/ameba/rule/performance/chained_call_with_no_bang.cr#L61" target="_blank">View source</a>]
</div>
</div>

View file

@ -812,7 +812,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/compact_after_map.cr#L24" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/compact_after_map.cr#L24" target="_blank">
ameba/rule/performance/compact_after_map.cr
</a>
@ -1200,7 +1200,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/compact_after_map.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/compact_after_map.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -1381,7 +1381,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/compact_after_map.cr#L42" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/compact_after_map.cr#L42" target="_blank">View source</a>]
</div>
</div>
@ -1397,7 +1397,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/compact_after_map.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/compact_after_map.cr#L33" target="_blank">View source</a>]
</div>
</div>

View file

@ -816,7 +816,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/first_last_after_filter.cr#L28" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/first_last_after_filter.cr#L28" target="_blank">
ameba/rule/performance/first_last_after_filter.cr
</a>
@ -1222,7 +1222,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/first_last_after_filter.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/first_last_after_filter.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -1431,7 +1431,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/first_last_after_filter.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/first_last_after_filter.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1447,7 +1447,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/first_last_after_filter.cr#L38" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/first_last_after_filter.cr#L38" target="_blank">View source</a>]
</div>
</div>

View file

@ -812,7 +812,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/flatten_after_map.cr#L24" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/flatten_after_map.cr#L24" target="_blank">
ameba/rule/performance/flatten_after_map.cr
</a>
@ -1200,7 +1200,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/flatten_after_map.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/flatten_after_map.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -1381,7 +1381,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/flatten_after_map.cr#L42" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/flatten_after_map.cr#L42" target="_blank">View source</a>]
</div>
</div>
@ -1397,7 +1397,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/flatten_after_map.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/flatten_after_map.cr#L33" target="_blank">View source</a>]
</div>
</div>

View file

@ -813,7 +813,7 @@ that follow <code>map</code>.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/map_instead_of_block.cr#L25" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/map_instead_of_block.cr#L25" target="_blank">
ameba/rule/performance/map_instead_of_block.cr
</a>
@ -1203,7 +1203,7 @@ that follow <code>map</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/map_instead_of_block.cr#L25" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/map_instead_of_block.cr#L25" target="_blank">View source</a>]
</div>
</div>
@ -1384,7 +1384,7 @@ that follow <code>map</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/map_instead_of_block.cr#L43" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/map_instead_of_block.cr#L43" target="_blank">View source</a>]
</div>
</div>
@ -1400,7 +1400,7 @@ that follow <code>map</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/map_instead_of_block.cr#L34" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/map_instead_of_block.cr#L34" target="_blank">View source</a>]
</div>
</div>

View file

@ -823,7 +823,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/size_after_filter.cr#L35" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/size_after_filter.cr#L35" target="_blank">
ameba/rule/performance/size_after_filter.cr
</a>
@ -1238,7 +1238,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/size_after_filter.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/size_after_filter.cr#L35" target="_blank">View source</a>]
</div>
</div>
@ -1447,7 +1447,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/size_after_filter.cr#L53" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/size_after_filter.cr#L53" target="_blank">View source</a>]
</div>
</div>
@ -1463,7 +1463,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/size_after_filter.cr#L44" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/size_after_filter.cr#L44" target="_blank">View source</a>]
</div>
</div>

View file

@ -776,126 +776,126 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/constant_names.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/constant_names.cr#L1" target="_blank">
ameba/rule/style/constant_names.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/guard_clause.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/style/is_a_filter.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/style/is_a_nil.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/style/large_numbers.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/style/method_names.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/method_names.cr#L1" target="_blank">
ameba/rule/style/method_names.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/negated_conditions_in_unless.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/style/parentheses_around_condition.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/style/predicate_name.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/predicate_name.cr#L1" target="_blank">
ameba/rule/style/predicate_name.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/query_bool_methods.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/query_bool_methods.cr#L1" target="_blank">
ameba/rule/style/query_bool_methods.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/redundant_begin.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/style/redundant_next.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/style/redundant_return.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/style/type_names.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/type_names.cr#L1" target="_blank">
ameba/rule/style/type_names.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/unless_else.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/style/variable_names.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/variable_names.cr#L1" target="_blank">
ameba/rule/style/variable_names.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/verbose_block.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/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/150ba6c7/src/ameba/rule/style/while_true.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/while_true.cr#L1" target="_blank">
ameba/rule/style/while_true.cr
</a>

View file

@ -814,7 +814,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/constant_names.cr#L24" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/constant_names.cr#L24" target="_blank">
ameba/rule/style/constant_names.cr
</a>
@ -1118,7 +1118,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/constant_names.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/constant_names.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -1299,7 +1299,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/constant_names.cr#L31" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/constant_names.cr#L31" target="_blank">View source</a>]
</div>
</div>

View file

@ -851,7 +851,7 @@ ok</code></pre>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/guard_clause.cr#L54" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/guard_clause.cr#L54" target="_blank">
ameba/rule/style/guard_clause.cr
</a>
@ -1021,8 +1021,8 @@ ok</code></pre>
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -1041,8 +1041,8 @@ ok</code></pre>
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1086,8 +1086,8 @@ ok</code></pre>
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1299,7 +1299,7 @@ ok</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/guard_clause.cr#L54" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/guard_clause.cr#L54" target="_blank">View source</a>]
</div>
</div>
@ -1452,7 +1452,7 @@ ok</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/guard_clause.cr#L177" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/guard_clause.cr#L177" target="_blank">View source</a>]
</div>
</div>
@ -1496,7 +1496,7 @@ ok</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/guard_clause.cr#L69" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/guard_clause.cr#L69" target="_blank">View source</a>]
</div>
</div>
@ -1512,7 +1512,7 @@ ok</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/guard_clause.cr#L83" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/guard_clause.cr#L83" target="_blank">View source</a>]
</div>
</div>
@ -1528,7 +1528,7 @@ ok</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/guard_clause.cr#L65" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/guard_clause.cr#L65" target="_blank">View source</a>]
</div>
</div>

View file

@ -831,7 +831,7 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># =&gt; tr
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/is_a_filter.cr#L41" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/is_a_filter.cr#L41" target="_blank">
ameba/rule/style/is_a_filter.cr
</a>
@ -1177,7 +1177,7 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># =&gt; tr
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/is_a_filter.cr#L41" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/is_a_filter.cr#L41" target="_blank">View source</a>]
</div>
</div>
@ -1386,7 +1386,7 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># =&gt; tr
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/is_a_filter.cr#L60" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/is_a_filter.cr#L60" target="_blank">View source</a>]
</div>
</div>
@ -1402,7 +1402,7 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># =&gt; tr
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/is_a_filter.cr#L51" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/is_a_filter.cr#L51" target="_blank">View source</a>]
</div>
</div>

View file

@ -814,7 +814,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/is_a_nil.cr#L22" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/is_a_nil.cr#L22" target="_blank">
ameba/rule/style/is_a_nil.cr
</a>
@ -969,8 +969,8 @@
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -989,8 +989,8 @@
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1034,8 +1034,8 @@
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1210,7 +1210,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/is_a_nil.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/is_a_nil.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1391,7 +1391,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/is_a_nil.cr#L31" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/is_a_nil.cr#L31" target="_blank">View source</a>]
</div>
</div>

View file

@ -819,7 +819,7 @@ large numbers more easily.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/large_numbers.cr#L29" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/large_numbers.cr#L29" target="_blank">
ameba/rule/style/large_numbers.cr
</a>
@ -1138,7 +1138,7 @@ large numbers more easily.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/large_numbers.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/large_numbers.cr#L29" target="_blank">View source</a>]
</div>
</div>
@ -1347,7 +1347,7 @@ large numbers more easily.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/large_numbers.cr#L38" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/large_numbers.cr#L38" target="_blank">View source</a>]
</div>
</div>

View file

@ -832,7 +832,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/method_names.cr#L40" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/method_names.cr#L40" target="_blank">
ameba/rule/style/method_names.cr
</a>
@ -987,8 +987,8 @@
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -1007,8 +1007,8 @@
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1052,8 +1052,8 @@
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1246,7 +1246,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/method_names.cr#L40" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/method_names.cr#L40" target="_blank">View source</a>]
</div>
</div>
@ -1427,7 +1427,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/method_names.cr#L49" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/method_names.cr#L49" target="_blank">View source</a>]
</div>
</div>

View file

@ -818,7 +818,7 @@ that is executed if a negated condition is NOT met.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/negated_conditions_in_unless.cr#L29" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/negated_conditions_in_unless.cr#L29" target="_blank">
ameba/rule/style/negated_conditions_in_unless.cr
</a>
@ -1126,7 +1126,7 @@ that is executed if a negated condition is NOT met.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/negated_conditions_in_unless.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/negated_conditions_in_unless.cr#L29" target="_blank">View source</a>]
</div>
</div>
@ -1307,7 +1307,7 @@ that is executed if a negated condition is NOT met.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/negated_conditions_in_unless.cr#L36" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/negated_conditions_in_unless.cr#L36" target="_blank">View source</a>]
</div>
</div>

View file

@ -819,7 +819,7 @@ around the condition of <code>if</code>, <code>unless</code>, <code>case,</code>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/parentheses_around_condition.cr#L29" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/parentheses_around_condition.cr#L29" target="_blank">
ameba/rule/style/parentheses_around_condition.cr
</a>
@ -1153,7 +1153,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/150ba6c7/src/ameba/rule/style/parentheses_around_condition.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/parentheses_around_condition.cr#L29" target="_blank">View source</a>]
</div>
</div>
@ -1390,7 +1390,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/150ba6c7/src/ameba/rule/style/parentheses_around_condition.cr#L55" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/parentheses_around_condition.cr#L55" target="_blank">View source</a>]
</div>
</div>

View file

@ -816,7 +816,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/150ba6c7/src/ameba/rule/style/predicate_name.cr#L26" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/predicate_name.cr#L26" target="_blank">
ameba/rule/style/predicate_name.cr
</a>
@ -1122,7 +1122,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/150ba6c7/src/ameba/rule/style/predicate_name.cr#L26" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/predicate_name.cr#L26" target="_blank">View source</a>]
</div>
</div>
@ -1303,7 +1303,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/150ba6c7/src/ameba/rule/style/predicate_name.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/predicate_name.cr#L33" target="_blank">View source</a>]
</div>
</div>

View file

@ -821,7 +821,7 @@ using <code>Object#(class_)property</code> or <code>Object#(class_)getter</code>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/query_bool_methods.cr#L29" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/query_bool_methods.cr#L29" target="_blank">
ameba/rule/style/query_bool_methods.cr
</a>
@ -981,8 +981,8 @@ using <code>Object#(class_)property</code> or <code>Object#(class_)getter</code>
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -1001,8 +1001,8 @@ using <code>Object#(class_)property</code> or <code>Object#(class_)getter</code>
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1046,8 +1046,8 @@ using <code>Object#(class_)property</code> or <code>Object#(class_)getter</code>
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1229,7 +1229,7 @@ using <code>Object#(class_)property</code> or <code>Object#(class_)getter</code>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/query_bool_methods.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/query_bool_methods.cr#L29" target="_blank">View source</a>]
</div>
</div>
@ -1410,7 +1410,7 @@ using <code>Object#(class_)property</code> or <code>Object#(class_)getter</code>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/query_bool_methods.cr#L40" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/query_bool_methods.cr#L40" target="_blank">View source</a>]
</div>
</div>

View file

@ -843,7 +843,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/redundant_begin.cr#L58" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/redundant_begin.cr#L58" target="_blank">
ameba/rule/style/redundant_begin.cr
</a>
@ -998,8 +998,8 @@
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -1018,8 +1018,8 @@
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1063,8 +1063,8 @@
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1268,7 +1268,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/redundant_begin.cr#L58" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/redundant_begin.cr#L58" target="_blank">View source</a>]
</div>
</div>
@ -1449,7 +1449,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/redundant_begin.cr#L67" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/redundant_begin.cr#L67" target="_blank">View source</a>]
</div>
</div>

View file

@ -878,7 +878,7 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/redundant_next.cr#L99" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/redundant_next.cr#L99" target="_blank">
ameba/rule/style/redundant_next.cr
</a>
@ -1058,8 +1058,8 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -1078,8 +1078,8 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1123,8 +1123,8 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1363,7 +1363,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/150ba6c7/src/ameba/rule/style/redundant_next.cr#L99" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/redundant_next.cr#L99" target="_blank">View source</a>]
</div>
</div>
@ -1600,7 +1600,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/150ba6c7/src/ameba/rule/style/redundant_next.cr#L115" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/redundant_next.cr#L115" target="_blank">View source</a>]
</div>
</div>
@ -1616,7 +1616,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/150ba6c7/src/ameba/rule/style/redundant_next.cr#L111" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/redundant_next.cr#L111" target="_blank">View source</a>]
</div>
</div>

View file

@ -875,7 +875,7 @@ without arguments. Sometimes such returns are used to return the <code>nil</code
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/redundant_return.cr#L96" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/redundant_return.cr#L96" target="_blank">
ameba/rule/style/redundant_return.cr
</a>
@ -1055,8 +1055,8 @@ without arguments. Sometimes such returns are used to return the <code>nil</code
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -1075,8 +1075,8 @@ without arguments. Sometimes such returns are used to return the <code>nil</code
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1120,8 +1120,8 @@ without arguments. Sometimes such returns are used to return the <code>nil</code
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1357,7 +1357,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/150ba6c7/src/ameba/rule/style/redundant_return.cr#L96" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/redundant_return.cr#L96" target="_blank">View source</a>]
</div>
</div>
@ -1594,7 +1594,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/150ba6c7/src/ameba/rule/style/redundant_return.cr#L112" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/redundant_return.cr#L112" target="_blank">View source</a>]
</div>
</div>
@ -1610,7 +1610,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/150ba6c7/src/ameba/rule/style/redundant_return.cr#L108" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/redundant_return.cr#L108" target="_blank">View source</a>]
</div>
</div>

View file

@ -844,7 +844,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/type_names.cr#L54" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/type_names.cr#L54" target="_blank">
ameba/rule/style/type_names.cr
</a>
@ -1178,7 +1178,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/type_names.cr#L54" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/type_names.cr#L54" target="_blank">View source</a>]
</div>
</div>
@ -1359,7 +1359,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/type_names.cr#L69" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/type_names.cr#L69" target="_blank">View source</a>]
</div>
</div>

View file

@ -831,7 +831,7 @@ an <code>if</code>, so the previous invalid example would become this:</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/unless_else.cr#L45" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/unless_else.cr#L45" target="_blank">
ameba/rule/style/unless_else.cr
</a>
@ -1152,7 +1152,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/150ba6c7/src/ameba/rule/style/unless_else.cr#L45" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/unless_else.cr#L45" target="_blank">View source</a>]
</div>
</div>
@ -1333,7 +1333,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/150ba6c7/src/ameba/rule/style/unless_else.cr#L52" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/unless_else.cr#L52" target="_blank">View source</a>]
</div>
</div>

View file

@ -815,7 +815,7 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/variable_names.cr#L25" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/variable_names.cr#L25" target="_blank">
ameba/rule/style/variable_names.cr
</a>
@ -1127,7 +1127,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/150ba6c7/src/ameba/rule/style/variable_names.cr#L25" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/variable_names.cr#L25" target="_blank">View source</a>]
</div>
</div>
@ -1308,7 +1308,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/150ba6c7/src/ameba/rule/style/variable_names.cr#L42" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/variable_names.cr#L42" target="_blank">View source</a>]
</div>
</div>
@ -1336,7 +1336,7 @@ that are tested by this rule, it should add an issue.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/variable_names.cr#L38" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/variable_names.cr#L38" target="_blank">View source</a>]
</div>
</div>

View file

@ -822,7 +822,7 @@ argument as a receiver, that can be collapsed into a short form.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/verbose_block.cr#L30" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/verbose_block.cr#L30" target="_blank">
ameba/rule/style/verbose_block.cr
</a>
@ -1052,8 +1052,8 @@ argument as a receiver, that can be collapsed into a short form.</p>
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -1072,8 +1072,8 @@ argument as a receiver, that can be collapsed into a short form.</p>
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1117,8 +1117,8 @@ argument as a receiver, that can be collapsed into a short form.</p>
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1301,7 +1301,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/150ba6c7/src/ameba/rule/style/verbose_block.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/verbose_block.cr#L30" target="_blank">View source</a>]
</div>
</div>
@ -1678,7 +1678,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/150ba6c7/src/ameba/rule/style/verbose_block.cr#L215" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/verbose_block.cr#L215" target="_blank">View source</a>]
</div>
</div>

View file

@ -818,7 +818,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/while_true.cr#L28" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/while_true.cr#L28" target="_blank">
ameba/rule/style/while_true.cr
</a>
@ -1126,7 +1126,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/while_true.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/while_true.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -1307,7 +1307,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/while_true.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/while_true.cr#L35" target="_blank">View source</a>]
</div>
</div>