mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Mark the internal visitor class as private
This commit is contained in:
parent
b5ba14ea0c
commit
c7fc905413
1 changed files with 2 additions and 1 deletions
|
@ -59,7 +59,8 @@ module Ameba::Rule
|
||||||
ConditionInWhenVisitor.new self, source, node
|
ConditionInWhenVisitor.new self, source, node
|
||||||
end
|
end
|
||||||
|
|
||||||
class ConditionInWhenVisitor < Crystal::Visitor
|
# :nodoc:
|
||||||
|
private class ConditionInWhenVisitor < Crystal::Visitor
|
||||||
@source : Source
|
@source : Source
|
||||||
@rule : UselessConditionInWhen
|
@rule : UselessConditionInWhen
|
||||||
@parent : Crystal::When
|
@parent : Crystal::When
|
||||||
|
|
Loading…
Reference in a new issue