mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Deploying to gh-pages from @ 48b15b9bf8
🚀
This commit is contained in:
parent
42809c9681
commit
f760465482
106 changed files with 5612 additions and 4623 deletions
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="generator" content="Crystal Docs 0.36.1">
|
||||
<meta name="generator" content="Crystal Docs 1.1.1">
|
||||
<meta name="crystal_docs.project_version" content="master">
|
||||
<meta name="crystal_docs.project_name" content="ameba">
|
||||
|
||||
|
@ -286,6 +286,11 @@
|
|||
|
||||
<ul>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Lint/AmbiguousAssignment" data-name="ameba::rule::lint::ambiguousassignment">
|
||||
<a href="../../../Ameba/Rule/Lint/AmbiguousAssignment.html">AmbiguousAssignment</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Lint/BadDirective" data-name="ameba::rule::lint::baddirective">
|
||||
<a href="../../../Ameba/Rule/Lint/BadDirective.html">BadDirective</a>
|
||||
|
||||
|
@ -643,13 +648,10 @@
|
|||
a block to skip to the next iteration early, however, it is considered
|
||||
redundant in cases where it is the last expression in a block or combines
|
||||
into the node which is the last in a block.</p>
|
||||
|
||||
<p>For example, this is considered invalid:</p>
|
||||
|
||||
<pre><code class="language-crystal">block <span class="k">do</span> <span class="o">|</span>v<span class="o">|</span>
|
||||
<span class="k">next</span> v <span class="o">+</span> <span class="n">1</span>
|
||||
<span class="k">end</span></code></pre>
|
||||
|
||||
<pre><code class="language-crystal">block <span class="k">do</span> <span class="o">|</span>v<span class="o">|</span>
|
||||
<span class="k">case</span> v
|
||||
<span class="k">when</span> .<span class="k">nil?</span>
|
||||
|
@ -660,13 +662,10 @@ into the node which is the last in a block.</p>
|
|||
<span class="k">next</span> <span class="s">"empty"</span>
|
||||
<span class="k">end</span>
|
||||
<span class="k">end</span></code></pre>
|
||||
|
||||
<p>And has to be written as the following:</p>
|
||||
|
||||
<pre><code class="language-crystal">block <span class="k">do</span> <span class="o">|</span>v<span class="o">|</span>
|
||||
v <span class="o">+</span> <span class="n">1</span>
|
||||
<span class="k">end</span></code></pre>
|
||||
|
||||
<pre><code class="language-crystal">block <span class="k">do</span> <span class="o">|</span>v<span class="o">|</span>
|
||||
<span class="k">case</span> arg
|
||||
<span class="k">when</span> .<span class="k">nil?</span>
|
||||
|
@ -677,51 +676,42 @@ into the node which is the last in a block.</p>
|
|||
<span class="s">"empty"</span>
|
||||
<span class="k">end</span>
|
||||
<span class="k">end</span></code></pre>
|
||||
|
||||
<h3><a id="configuration-params" class="anchor" href="#configuration-params">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
<use href="#octicon-link"/>
|
||||
</svg>
|
||||
</a>Configuration params</h3>
|
||||
|
||||
<ol><li><em>allow_multi_next</em>, default: true</li></ol>
|
||||
|
||||
<ol>
|
||||
<li><em>allow_multi_next</em>, default: true</li>
|
||||
</ol>
|
||||
<p>Allows end-user to configure whether to report or not the next statements
|
||||
which yield tuple literals i.e.</p>
|
||||
|
||||
<pre><code class="language-crystal">block <span class="k">do</span>
|
||||
<span class="k">next</span> a, b
|
||||
<span class="k">end</span></code></pre>
|
||||
|
||||
<p>If this param equals to <code>false</code>, the block above will be forced to be written as:</p>
|
||||
|
||||
<pre><code class="language-crystal">block <span class="k">do</span>
|
||||
{a, b}
|
||||
<span class="k">end</span></code></pre>
|
||||
|
||||
<ol><li><em>allow_empty_next</em>, default: true</li></ol>
|
||||
|
||||
<ol start="2">
|
||||
<li><em>allow_empty_next</em>, default: true</li>
|
||||
</ol>
|
||||
<p>Allows end-user to configure whether to report or not the next statements
|
||||
without arguments. Sometimes such statements are used to yild the <code>nil</code> value explicitly.</p>
|
||||
|
||||
<pre><code class="language-crystal">block <span class="k">do</span>
|
||||
@foo <span class="o">=</span> <span class="n">:empty</span>
|
||||
<span class="k">next</span>
|
||||
<span class="k">end</span></code></pre>
|
||||
|
||||
<p>If this param equals to <code>false</code>, the block above will be forced to be written as:</p>
|
||||
|
||||
<pre><code class="language-crystal">block <span class="k">do</span>
|
||||
@foo <span class="o">=</span> <span class="n">:empty</span>
|
||||
<span class="n">nil</span>
|
||||
<span class="k">end</span></code></pre>
|
||||
|
||||
<h3><a id="yaml-config-example" class="anchor" href="#yaml-config-example">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
<use href="#octicon-link"/>
|
||||
</svg>
|
||||
</a>YAML config example</h3>
|
||||
|
||||
<pre><code class="language-crystal">Style/RedundantNext:
|
||||
Enabled: true
|
||||
AllowMultiNext: true
|
||||
|
@ -766,7 +756,7 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/9a91e42b/src/ameba/rule/style/redundant_next.cr#L99" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/48b15b9b/src/ameba/rule/style/redundant_next.cr#L99" target="_blank">
|
||||
ameba/rule/style/redundant_next.cr
|
||||
</a>
|
||||
|
||||
|
@ -807,12 +797,12 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
|
|||
<ul class="list-summary">
|
||||
|
||||
<li class="entry-summary">
|
||||
<a href="#new(ctx:YAML::ParseContext,node:YAML::Nodes::Node)-class-method" class="signature"><strong>.new</strong>(ctx : YAML::ParseContext, node : YAML::Nodes::Node)</a>
|
||||
<a href="#new%28ctx%3AYAML%3A%3AParseContext%2Cnode%3AYAML%3A%3ANodes%3A%3ANode%29-class-method" class="signature"><strong>.new</strong>(ctx : YAML::ParseContext, node : YAML::Nodes::Node)</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="entry-summary">
|
||||
<a href="#new(config=nil)-class-method" class="signature"><strong>.new</strong>(config = <span class="n">nil</span>)</a>
|
||||
<a href="#new%28config%3Dnil%29-class-method" class="signature"><strong>.new</strong>(config = <span class="n">nil</span>)</a>
|
||||
|
||||
<div class="summary"><p>A rule that disallows redundant next expressions.</p></div>
|
||||
|
||||
|
@ -835,72 +825,72 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
|
|||
<ul class="list-summary">
|
||||
|
||||
<li class="entry-summary">
|
||||
<a href="#allow_empty_next:Bool-instance-method" class="signature"><strong>#allow_empty_next</strong> : Bool</a>
|
||||
<a href="#allow_empty_next%3ABool-instance-method" class="signature"><strong>#allow_empty_next</strong> : Bool</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="entry-summary">
|
||||
<a href="#allow_empty_next=(allow_empty_next:Bool)-instance-method" class="signature"><strong>#allow_empty_next=</strong>(allow_empty_next : Bool)</a>
|
||||
<a href="#allow_empty_next%3D%28allow_empty_next%3ABool%29-instance-method" class="signature"><strong>#allow_empty_next=</strong>(allow_empty_next : Bool)</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="entry-summary">
|
||||
<a href="#allow_multi_next:Bool-instance-method" class="signature"><strong>#allow_multi_next</strong> : Bool</a>
|
||||
<a href="#allow_multi_next%3ABool-instance-method" class="signature"><strong>#allow_multi_next</strong> : Bool</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="entry-summary">
|
||||
<a href="#allow_multi_next=(allow_multi_next:Bool)-instance-method" class="signature"><strong>#allow_multi_next=</strong>(allow_multi_next : Bool)</a>
|
||||
<a href="#allow_multi_next%3D%28allow_multi_next%3ABool%29-instance-method" class="signature"><strong>#allow_multi_next=</strong>(allow_multi_next : Bool)</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="entry-summary">
|
||||
<a href="#description:String-instance-method" class="signature"><strong>#description</strong> : String</a>
|
||||
<a href="#description%3AString-instance-method" class="signature"><strong>#description</strong> : String</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="entry-summary">
|
||||
<a href="#description=(description:String)-instance-method" class="signature"><strong>#description=</strong>(description : String)</a>
|
||||
<a href="#description%3D%28description%3AString%29-instance-method" class="signature"><strong>#description=</strong>(description : String)</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="entry-summary">
|
||||
<a href="#enabled:Bool-instance-method" class="signature"><strong>#enabled</strong> : Bool</a>
|
||||
<a href="#enabled%3ABool-instance-method" class="signature"><strong>#enabled</strong> : Bool</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="entry-summary">
|
||||
<a href="#enabled=(enabled)-instance-method" class="signature"><strong>#enabled=</strong>(enabled)</a>
|
||||
<a href="#enabled%3D%28enabled%29-instance-method" class="signature"><strong>#enabled=</strong>(enabled)</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="entry-summary">
|
||||
<a href="#excluded:Array(String)?-instance-method" class="signature"><strong>#excluded</strong> : Array(String)?</a>
|
||||
<a href="#excluded%3AArray%28String%29%3F-instance-method" class="signature"><strong>#excluded</strong> : Array(String)?</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="entry-summary">
|
||||
<a href="#excluded=(excluded:Array(String)?)-instance-method" class="signature"><strong>#excluded=</strong>(excluded : Array(String)?)</a>
|
||||
<a href="#excluded%3D%28excluded%3AArray%28String%29%3F%29-instance-method" class="signature"><strong>#excluded=</strong>(excluded : Array(String)?)</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="entry-summary">
|
||||
<a href="#severity:Ameba::Severity-instance-method" class="signature"><strong>#severity</strong> : Ameba::Severity</a>
|
||||
<a href="#severity%3AAmeba%3A%3ASeverity-instance-method" class="signature"><strong>#severity</strong> : Ameba::Severity</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="entry-summary">
|
||||
<a href="#severity=(severity)-instance-method" class="signature"><strong>#severity=</strong>(severity)</a>
|
||||
<a href="#severity%3D%28severity%29-instance-method" class="signature"><strong>#severity=</strong>(severity)</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="entry-summary">
|
||||
<a href="#test(source,node:Crystal::Next,visitor:AST::RedundantControlExpressionVisitor)-instance-method" class="signature"><strong>#test</strong>(source, node : Crystal::Next, visitor : AST::RedundantControlExpressionVisitor)</a>
|
||||
<a href="#test%28source%2Cnode%3ACrystal%3A%3ANext%2Cvisitor%3AAST%3A%3ARedundantControlExpressionVisitor%29-instance-method" class="signature"><strong>#test</strong>(source, node : Crystal::Next, visitor : AST::RedundantControlExpressionVisitor)</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="entry-summary">
|
||||
<a href="#test(source,node:Crystal::Block)-instance-method" class="signature"><strong>#test</strong>(source, node : Crystal::Block)</a>
|
||||
<a href="#test%28source%2Cnode%3ACrystal%3A%3ABlock%29-instance-method" class="signature"><strong>#test</strong>(source, node : Crystal::Block)</a>
|
||||
|
||||
</li>
|
||||
|
||||
|
@ -937,17 +927,17 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
|
|||
<h3>Instance methods inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Rule/Base.html#==(other)-instance-method" class="tooltip">
|
||||
<a href="../../../Ameba/Rule/Base.html#%3D%3D%28other%29-instance-method" class="tooltip">
|
||||
<span>==(other)</span>
|
||||
==</a>,
|
||||
|
||||
|
||||
<a href="../../../Ameba/Rule/Base.html#catch(source:Source)-instance-method" class="tooltip">
|
||||
<a href="../../../Ameba/Rule/Base.html#catch%28source%3ASource%29-instance-method" class="tooltip">
|
||||
<span>catch(source : Source)</span>
|
||||
catch</a>,
|
||||
|
||||
|
||||
<a href="../../../Ameba/Rule/Base.html#excluded?(source)-instance-method" class="tooltip">
|
||||
<a href="../../../Ameba/Rule/Base.html#excluded%3F%28source%29-instance-method" class="tooltip">
|
||||
<span>excluded?(source)</span>
|
||||
excluded?</a>,
|
||||
|
||||
|
@ -967,12 +957,12 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
|
|||
name</a>,
|
||||
|
||||
|
||||
<a href="../../../Ameba/Rule/Base.html#special?-instance-method" class="tooltip">
|
||||
<a href="../../../Ameba/Rule/Base.html#special%3F-instance-method" class="tooltip">
|
||||
<span>special?</span>
|
||||
special?</a>,
|
||||
|
||||
|
||||
<a href="../../../Ameba/Rule/Base.html#test(source:Source,node:Crystal::ASTNode,*opts)-instance-method" class="tooltip">
|
||||
<a href="../../../Ameba/Rule/Base.html#test%28source%3ASource%2Cnode%3ACrystal%3A%3AASTNode%2C%2Aopts%29-instance-method" class="tooltip">
|
||||
<span>test(source : Source, node : Crystal::ASTNode, *opts)<br/>test(source : Source)</span>
|
||||
test</a>
|
||||
|
||||
|
@ -1042,7 +1032,7 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
|
|||
|
||||
def self.<strong>new</strong>(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
|
||||
|
||||
<a class="method-permalink" href="#new(ctx:YAML::ParseContext,node:YAML::Nodes::Node)-class-method">#</a>
|
||||
<a class="method-permalink" href="#new%28ctx%3AYAML%3A%3AParseContext%2Cnode%3AYAML%3A%3ANodes%3A%3ANode%29-class-method">#</a>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
|
@ -1056,7 +1046,7 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
|
|||
|
||||
def self.<strong>new</strong>(config = <span class="n">nil</span>)
|
||||
|
||||
<a class="method-permalink" href="#new(config=nil)-class-method">#</a>
|
||||
<a class="method-permalink" href="#new%28config%3Dnil%29-class-method">#</a>
|
||||
</div>
|
||||
|
||||
<div class="doc">
|
||||
|
@ -1065,13 +1055,10 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
|
|||
a block to skip to the next iteration early, however, it is considered
|
||||
redundant in cases where it is the last expression in a block or combines
|
||||
into the node which is the last in a block.</p>
|
||||
|
||||
<p>For example, this is considered invalid:</p>
|
||||
|
||||
<pre><code class="language-crystal">block <span class="k">do</span> <span class="o">|</span>v<span class="o">|</span>
|
||||
<span class="k">next</span> v <span class="o">+</span> <span class="n">1</span>
|
||||
<span class="k">end</span></code></pre>
|
||||
|
||||
<pre><code class="language-crystal">block <span class="k">do</span> <span class="o">|</span>v<span class="o">|</span>
|
||||
<span class="k">case</span> v
|
||||
<span class="k">when</span> .<span class="k">nil?</span>
|
||||
|
@ -1082,13 +1069,10 @@ into the node which is the last in a block.</p>
|
|||
<span class="k">next</span> <span class="s">"empty"</span>
|
||||
<span class="k">end</span>
|
||||
<span class="k">end</span></code></pre>
|
||||
|
||||
<p>And has to be written as the following:</p>
|
||||
|
||||
<pre><code class="language-crystal">block <span class="k">do</span> <span class="o">|</span>v<span class="o">|</span>
|
||||
v <span class="o">+</span> <span class="n">1</span>
|
||||
<span class="k">end</span></code></pre>
|
||||
|
||||
<pre><code class="language-crystal">block <span class="k">do</span> <span class="o">|</span>v<span class="o">|</span>
|
||||
<span class="k">case</span> arg
|
||||
<span class="k">when</span> .<span class="k">nil?</span>
|
||||
|
@ -1099,51 +1083,42 @@ into the node which is the last in a block.</p>
|
|||
<span class="s">"empty"</span>
|
||||
<span class="k">end</span>
|
||||
<span class="k">end</span></code></pre>
|
||||
|
||||
<h3><a id="configuration-params" class="anchor" href="#configuration-params">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
<use href="#octicon-link"/>
|
||||
</svg>
|
||||
</a>Configuration params</h3>
|
||||
|
||||
<ol><li><em>allow_multi_next</em>, default: true</li></ol>
|
||||
|
||||
<ol>
|
||||
<li><em>allow_multi_next</em>, default: true</li>
|
||||
</ol>
|
||||
<p>Allows end-user to configure whether to report or not the next statements
|
||||
which yield tuple literals i.e.</p>
|
||||
|
||||
<pre><code class="language-crystal">block <span class="k">do</span>
|
||||
<span class="k">next</span> a, b
|
||||
<span class="k">end</span></code></pre>
|
||||
|
||||
<p>If this param equals to <code>false</code>, the block above will be forced to be written as:</p>
|
||||
|
||||
<pre><code class="language-crystal">block <span class="k">do</span>
|
||||
{a, b}
|
||||
<span class="k">end</span></code></pre>
|
||||
|
||||
<ol><li><em>allow_empty_next</em>, default: true</li></ol>
|
||||
|
||||
<ol start="2">
|
||||
<li><em>allow_empty_next</em>, default: true</li>
|
||||
</ol>
|
||||
<p>Allows end-user to configure whether to report or not the next statements
|
||||
without arguments. Sometimes such statements are used to yild the <code>nil</code> value explicitly.</p>
|
||||
|
||||
<pre><code class="language-crystal">block <span class="k">do</span>
|
||||
@foo <span class="o">=</span> <span class="n">:empty</span>
|
||||
<span class="k">next</span>
|
||||
<span class="k">end</span></code></pre>
|
||||
|
||||
<p>If this param equals to <code>false</code>, the block above will be forced to be written as:</p>
|
||||
|
||||
<pre><code class="language-crystal">block <span class="k">do</span>
|
||||
@foo <span class="o">=</span> <span class="n">:empty</span>
|
||||
<span class="n">nil</span>
|
||||
<span class="k">end</span></code></pre>
|
||||
|
||||
<h3><a id="yaml-config-example" class="anchor" href="#yaml-config-example">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
<use href="#octicon-link"/>
|
||||
</svg>
|
||||
</a>YAML config example</h3>
|
||||
|
||||
<pre><code class="language-crystal">Style/RedundantNext:
|
||||
Enabled: true
|
||||
AllowMultiNext: true
|
||||
|
@ -1153,7 +1128,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/9a91e42b/src/ameba/rule/style/redundant_next.cr#L99" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/48b15b9b/src/ameba/rule/style/redundant_next.cr#L99" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1177,7 +1152,7 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
|
|||
|
||||
def <strong>allow_empty_next</strong> : Bool
|
||||
|
||||
<a class="method-permalink" href="#allow_empty_next:Bool-instance-method">#</a>
|
||||
<a class="method-permalink" href="#allow_empty_next%3ABool-instance-method">#</a>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
|
@ -1191,7 +1166,7 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
|
|||
|
||||
def <strong>allow_empty_next=</strong>(allow_empty_next : Bool)
|
||||
|
||||
<a class="method-permalink" href="#allow_empty_next=(allow_empty_next:Bool)-instance-method">#</a>
|
||||
<a class="method-permalink" href="#allow_empty_next%3D%28allow_empty_next%3ABool%29-instance-method">#</a>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
|
@ -1205,7 +1180,7 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
|
|||
|
||||
def <strong>allow_multi_next</strong> : Bool
|
||||
|
||||
<a class="method-permalink" href="#allow_multi_next:Bool-instance-method">#</a>
|
||||
<a class="method-permalink" href="#allow_multi_next%3ABool-instance-method">#</a>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
|
@ -1219,7 +1194,7 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
|
|||
|
||||
def <strong>allow_multi_next=</strong>(allow_multi_next : Bool)
|
||||
|
||||
<a class="method-permalink" href="#allow_multi_next=(allow_multi_next:Bool)-instance-method">#</a>
|
||||
<a class="method-permalink" href="#allow_multi_next%3D%28allow_multi_next%3ABool%29-instance-method">#</a>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
|
@ -1233,7 +1208,7 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
|
|||
|
||||
def <strong>description</strong> : String
|
||||
|
||||
<a class="method-permalink" href="#description:String-instance-method">#</a>
|
||||
<a class="method-permalink" href="#description%3AString-instance-method">#</a>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
|
@ -1247,7 +1222,7 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
|
|||
|
||||
def <strong>description=</strong>(description : String)
|
||||
|
||||
<a class="method-permalink" href="#description=(description:String)-instance-method">#</a>
|
||||
<a class="method-permalink" href="#description%3D%28description%3AString%29-instance-method">#</a>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
|
@ -1261,7 +1236,7 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
|
|||
|
||||
def <strong>enabled</strong> : Bool
|
||||
|
||||
<a class="method-permalink" href="#enabled:Bool-instance-method">#</a>
|
||||
<a class="method-permalink" href="#enabled%3ABool-instance-method">#</a>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
|
@ -1275,7 +1250,7 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
|
|||
|
||||
def <strong>enabled=</strong>(enabled)
|
||||
|
||||
<a class="method-permalink" href="#enabled=(enabled)-instance-method">#</a>
|
||||
<a class="method-permalink" href="#enabled%3D%28enabled%29-instance-method">#</a>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
|
@ -1289,7 +1264,7 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
|
|||
|
||||
def <strong>excluded</strong> : Array(String)?
|
||||
|
||||
<a class="method-permalink" href="#excluded:Array(String)?-instance-method">#</a>
|
||||
<a class="method-permalink" href="#excluded%3AArray%28String%29%3F-instance-method">#</a>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
|
@ -1303,7 +1278,7 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
|
|||
|
||||
def <strong>excluded=</strong>(excluded : Array(String)?)
|
||||
|
||||
<a class="method-permalink" href="#excluded=(excluded:Array(String)?)-instance-method">#</a>
|
||||
<a class="method-permalink" href="#excluded%3D%28excluded%3AArray%28String%29%3F%29-instance-method">#</a>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
|
@ -1317,7 +1292,7 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
|
|||
|
||||
def <strong>severity</strong> : <a href="../../../Ameba/Severity.html">Ameba::Severity</a>
|
||||
|
||||
<a class="method-permalink" href="#severity:Ameba::Severity-instance-method">#</a>
|
||||
<a class="method-permalink" href="#severity%3AAmeba%3A%3ASeverity-instance-method">#</a>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
|
@ -1331,7 +1306,7 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
|
|||
|
||||
def <strong>severity=</strong>(severity)
|
||||
|
||||
<a class="method-permalink" href="#severity=(severity)-instance-method">#</a>
|
||||
<a class="method-permalink" href="#severity%3D%28severity%29-instance-method">#</a>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
|
@ -1345,13 +1320,13 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
|
|||
|
||||
def <strong>test</strong>(source, node : Crystal::Next, visitor : <a href="../../../Ameba/AST/RedundantControlExpressionVisitor.html">AST::RedundantControlExpressionVisitor</a>)
|
||||
|
||||
<a class="method-permalink" href="#test(source,node:Crystal::Next,visitor:AST::RedundantControlExpressionVisitor)-instance-method">#</a>
|
||||
<a class="method-permalink" href="#test%28source%2Cnode%3ACrystal%3A%3ANext%2Cvisitor%3AAST%3A%3ARedundantControlExpressionVisitor%29-instance-method">#</a>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/9a91e42b/src/ameba/rule/style/redundant_next.cr#L113" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/48b15b9b/src/ameba/rule/style/redundant_next.cr#L113" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1361,13 +1336,13 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
|
|||
|
||||
def <strong>test</strong>(source, node : Crystal::Block)
|
||||
|
||||
<a class="method-permalink" href="#test(source,node:Crystal::Block)-instance-method">#</a>
|
||||
<a class="method-permalink" href="#test%28source%2Cnode%3ACrystal%3A%3ABlock%29-instance-method">#</a>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/9a91e42b/src/ameba/rule/style/redundant_next.cr#L109" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/48b15b9b/src/ameba/rule/style/redundant_next.cr#L109" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue