Open Sidebar
Close Sidebar
ameba
master
Ameba
AST
Argument
Assignment
BaseVisitor
Branch
Branchable
CountingVisitor
FlowExpression
FlowExpressionVisitor
InstanceVariable
NodeVisitor
Category
RedundantControlExpressionVisitor
Reference
Scope
ScopeVisitor
TopLevelNodesVisitor
TypeDecVariable
Util
Variable
Config
Ext
Location
Formatter
BaseFormatter
DisabledFormatter
DotFormatter
ExplainFormatter
FlycheckFormatter
JSONFormatter
TODOFormatter
Util
GlobUtils
InlineComments
Action
Issue
Status
Presenter
BasePresenter
RuleCollectionPresenter
RulePresenter
RuleVersionsPresenter
Reportable
Rule
Base
Documentation
Documentation
DocumentationAdmonition
Layout
LineLength
TrailingBlankLines
TrailingWhitespace
Lint
AmbiguousAssignment
BadDirective
ComparisonToBoolean
DebugCalls
DebuggerStatement
DuplicatedRequire
EmptyEnsure
EmptyExpression
EmptyLoop
Formatting
HashDuplicatedKey
LiteralAssignmentsInExpressions
LiteralInCondition
LiteralInInterpolation
LiteralsComparison
MissingBlockArgument
NotNil
NotNilAfterNoBang
PercentArrays
RandZero
RedundantStringCoercion
RedundantWithIndex
RedundantWithObject
RequireParentheses
ShadowedArgument
ShadowedException
ShadowingOuterLocalVar
SharedVarInFiber
SpecFilename
SpecFocus
Syntax
TrailingRescueException
Typos
Typo
UnneededDisableDirective
UnreachableCode
UnusedArgument
UnusedBlockArgument
UselessAssign
UselessConditionInWhen
Metrics
CyclomaticComplexity
Naming
AccessorMethodName
AsciiIdentifiers
BinaryOperatorParameterName
BlockParameterName
ConstantNames
Filename
MethodNames
PredicateName
QueryBoolMethods
RescuedExceptionsVariableName
TypeNames
VariableNames
Performance
AnyAfterFilter
AnyInsteadOfEmpty
Base
ChainedCallWithNoBang
CompactAfterMap
ExcessiveAllocations
FirstLastAfterFilter
FlattenAfterMap
MapInsteadOfBlock
MinMaxAfterMap
SizeAfterFilter
Style
GuardClause
IsAFilter
IsANil
LargeNumbers
NegatedConditionsInUnless
ParenthesesAroundCondition
RedundantBegin
RedundantNext
RedundantReturn
UnlessElse
VerboseBlock
WhileTrue
Runner
InfiniteCorrectionLoopError
Severity
SeverityYamlConverter
Source
Corrector
Rewriter
Spec
AnnotatedSource
BeValid
BeValidExpectation
ExpectIssue
Util
Tokenizer
class
Ameba::
Presenter::
RulePresenter
Ameba::Presenter::RulePresenter
Ameba::Presenter::BasePresenter
Reference
Object
Defined in:
ameba/presenter/rule_presenter.cr
Instance Method Summary
#run
(rule) : Nil
Instance methods inherited from class
Ameba::Presenter::BasePresenter
output : IO::FileDescriptor | IO::Memory
output
Constructor methods inherited from class
Ameba::Presenter::BasePresenter
new(output : IO =
STDOUT
)
new
Instance Method Detail
def
run
(rule) : Nil
#
[
View source
]