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
Reportable
Rule
Base
Layout
LineLength
TrailingBlankLines
TrailingWhitespace
Lint
AmbiguousAssignment
BadDirective
ComparisonToBoolean
DebugCalls
DebuggerStatement
Documentation
DuplicatedRequire
EmptyEnsure
EmptyExpression
EmptyLoop
Formatting
HashDuplicatedKey
LiteralAssignmentsInExpressions
LiteralInCondition
LiteralInInterpolation
LiteralsComparison
MissingBlockArgument
NotNil
NotNilAfterNoBang
PercentArrays
RandZero
RedundantStringCoercion
RedundantWithIndex
RedundantWithObject
ShadowedArgument
ShadowedException
ShadowingOuterLocalVar
SharedVarInFiber
SpecFocus
Syntax
UnneededDisableDirective
UnreachableCode
UnusedArgument
UnusedBlockArgument
UselessAssign
UselessConditionInWhen
Metrics
CyclomaticComplexity
Performance
AnyAfterFilter
AnyInsteadOfEmpty
Base
ChainedCallWithNoBang
CompactAfterMap
ExcessiveAllocations
FirstLastAfterFilter
FlattenAfterMap
MapInsteadOfBlock
SizeAfterFilter
Style
ConstantNames
GuardClause
IsAFilter
IsANil
LargeNumbers
MethodNames
NegatedConditionsInUnless
ParenthesesAroundCondition
PredicateName
QueryBoolMethods
RedundantBegin
RedundantNext
RedundantReturn
TypeNames
UnlessElse
VariableNames
VerboseBlock
WhileTrue
Runner
InfiniteCorrectionLoopError
Severity
SeverityYamlConverter
Source
Corrector
Rewriter
Spec
AnnotatedSource
BeValid
BeValidExpectation
ExpectIssue
Util
Tokenizer
struct
Ameba::Spec::BeValidExpectation
Ameba::Spec::BeValidExpectation
Struct
Value
Object
Defined in:
ameba/spec/be_valid.cr
Constructors
.new
Instance Method Summary
#failure_message
(source)
#initialize
#match
(source)
#negative_failure_message
(source)
Constructor Detail
def self.
new
#
[
View source
]
Instance Method Detail
def
failure_message
(source)
#
[
View source
]
def
initialize
#
[
View source
]
def
match
(source)
#
[
View source
]
def
negative_failure_message
(source)
#
[
View source
]