CopHelper
CopsDocumentationGenerator
Object
RuboCop
ArgumentsEnv
ArgumentsFile
CLI
Command
AutoGenerateConfig
Base
ExecuteRunner
InitDotfile
LSP
ShowCops
ShowDocsUrl
SuggestExtensions
Version
Environment
Finished
CacheConfig
CachedData
CommentConfig
ConfigDisabledCopDirectiveComment
Config
ConfigFinder
ConfigLoader
ConfigLoaderResolver
ConfigNotFoundError
ConfigObsoletion
ChangedEnforcedStyles
ChangedParameter
CopRule
ExtractedCop
ParameterRule
RemovedCop
RenamedCop
Rule
SplitCop
ConfigRegeneration
ConfigStore
ConfigValidator
Cop
Alignment
AlignmentCorrector
AllowedIdentifiers
AllowedMethods
AllowedPattern
AllowedReceivers
AmbiguousCopName
AnnotationComment
ArrayMinSize
ArraySyntax
AutoCorrector
AutocorrectLogic
Badge
Bundler
DuplicatedGem
DuplicatedGroup
GemComment
GemFilename
GemVersion
InsecureProtocolSource
OrderedGems
CheckAssignment
CheckLineBreakable
CheckSingleLineSuitability
CodeLength
CommentsHelp
Commissioner
ConditionCorrector
ConfigurableEnforcedStyle
ConfigurableFormatting
ConfigurableMax
ConfigurableNaming
ConfigurableNumbering
Corrector
DefNode
DigHelp
Documentation
DocumentationComment
Duplication
EachToForCorrector
EmptyLineCorrector
EmptyParameter
EndKeywordAlignment
EndlessMethodRewriter
EnforceSuperclass
FirstElementLineBreak
ForToEachCorrector
ForbiddenIdentifiers
ForbiddenPattern
Force
HookError
FrozenStringLiteral
GemDeclaration
Gemspec
AddRuntimeDependency
AttributeAssignment
DependencyVersion
DeprecatedAttributeAssignment
DevelopmentDependencies
DuplicatedAssignment
OrderedDependencies
RequireMFA
RequiredRubyVersion
RubyVersionGlobalsUsage
GemspecHelp
Generator
ConfigurationInjector
RequireFileInjector
HashAlignmentStyles
KeyAlignment
KeywordSplatAlignment
SeparatorAlignment
TableAlignment
ValueAlignment
HashShorthandSyntax
HashSubset
HashTransformMethod
Heredoc
IfThenCorrector
IgnoredMethods
IgnoredNode
IgnoredPattern
IntegerNode
InternalAffairs
CopDescription
CopEnabled
CreateEmptyFile
EmptyLineBetweenExpectOffenseAndCorrection
ExampleDescription
ExampleHeredocDelimiter
InheritDeprecatedCopClass
LambdaOrProc
LocationExists
LocationExpression
LocationLineEqualityComparison
MethodNameEndWith
MethodNameEqual
NodeDestructuring
NodeFirstOrLastArgument
NodeMatcherDirective
NodePatternGroups
ASTProcessor
ASTWalker
NodeTypeGroup
NodeTypeMultiplePredicates
NodeTypePredicate
NumblockHandler
OffenseLocationKeyword
OnSendWithoutOnCSend
OperatorKeyword
ProcessedSourceBufferName
RedundantContextConfigParameter
RedundantDescribedClassAsSubject
RedundantExpectOffenseArguments
RedundantLetRuboCopConfigNew
RedundantLocationArgument
RedundantMessageArgument
RedundantMethodDispatchNode
RedundantSourceRange
SingleLineComparison
StyleDetectedApiUse
UndefinedConfig
UselessMessageAssertion
UselessRestrictOnSend
Interpolation
LambdaLiteralToMethodCorrector
Layout
AccessModifierIndentation
ArgumentAlignment
ArrayAlignment
AssignmentIndentation
BeginEndAlignment
BlockAlignment
BlockEndNewline
CaseIndentation
ClassStructure
ClosingHeredocIndentation
ClosingParenthesisIndentation
CommentIndentation
ConditionPosition
DefEndAlignment
DotPosition
ElseAlignment
EmptyComment
EmptyLineAfterGuardClause
EmptyLineAfterMagicComment
EmptyLineAfterMultilineCondition
EmptyLineBetweenDefs
EmptyLines
EmptyLinesAroundAccessModifier
EmptyLinesAroundArguments
EmptyLinesAroundAttributeAccessor
EmptyLinesAroundBeginBody
EmptyLinesAroundBlockBody
EmptyLinesAroundBody
EmptyLinesAroundClassBody
EmptyLinesAroundExceptionHandlingKeywords
EmptyLinesAroundMethodBody
EmptyLinesAroundModuleBody
EndAlignment
EndOfLine
ExtraSpacing
FirstArgumentIndentation
FirstArrayElementIndentation
FirstArrayElementLineBreak
FirstHashElementIndentation
FirstHashElementLineBreak
FirstMethodArgumentLineBreak
FirstMethodParameterLineBreak
FirstParameterIndentation
HashAlignment
HeredocArgumentClosingParenthesis
HeredocIndentation
IndentationConsistency
IndentationStyle
IndentationWidth
InitialIndentation
LeadingCommentSpace
LeadingEmptyLines
LineContinuationLeadingSpace
LineContinuationSpacing
LineEndStringConcatenationIndentation
LineLength
MultilineArrayBraceLayout
MultilineArrayLineBreaks
MultilineAssignmentLayout
MultilineBlockLayout
MultilineHashBraceLayout
MultilineHashKeyLineBreaks
MultilineMethodArgumentLineBreaks
MultilineMethodCallBraceLayout
MultilineMethodCallIndentation
MultilineMethodDefinitionBraceLayout
MultilineMethodParameterLineBreaks
MultilineOperationIndentation
ParameterAlignment
RedundantLineBreak
RescueEnsureAlignment
SingleLineBlockChain
SpaceAfterColon
SpaceAfterComma
SpaceAfterMethodName
SpaceAfterNot
SpaceAfterSemicolon
SpaceAroundBlockParameters
SpaceAroundEqualsInParameterDefault
SpaceAroundKeyword
SpaceAroundMethodCallOperator
SpaceAroundOperators
SpaceBeforeBlockBraces
SpaceBeforeBrackets
SpaceBeforeComma
SpaceBeforeComment
SpaceBeforeFirstArg
SpaceBeforeSemicolon
SpaceInLambdaLiteral
SpaceInsideArrayLiteralBrackets
SpaceInsideArrayPercentLiteral
SpaceInsideBlockBraces
SpaceInsideHashLiteralBraces
SpaceInsideParens
SpaceInsidePercentLiteralDelimiters
SpaceInsideRangeLiteral
SpaceInsideReferenceBrackets
SpaceInsideStringInterpolation
TrailingEmptyLines
TrailingWhitespace
Legacy
CorrectionsProxy
LineBreakCorrector
LineLengthHelp
Lint
AmbiguousAssignment
AmbiguousBlockAssociation
AmbiguousOperator
AmbiguousOperatorPrecedence
AmbiguousRange
AmbiguousRegexpLiteral
ArrayLiteralInRegexp
AssignmentInCondition
BigDecimalNew
BinaryOperatorWithIdenticalOperands
BooleanSymbol
CircularArgumentReference
ConstantDefinitionInBlock
ConstantOverwrittenInRescue
ConstantReassignment
ConstantResolution
CopDirectiveSyntax
Debugger
DeprecatedClassMethods
DeprecatedConstants
DeprecatedOpenSSLConstant
DisjunctiveAssignmentInConstructor
DuplicateBranch
DuplicateCaseCondition
DuplicateElsifCondition
DuplicateHashKey
DuplicateMagicComment
DuplicateMatchPattern
DuplicateMethods
DuplicateRegexpCharacterClassElement
DuplicateRequire
DuplicateRescueException
DuplicateSetElement
EachWithObjectArgument
ElseLayout
EmptyBlock
EmptyClass
EmptyConditionalBody
EmptyEnsure
EmptyExpression
EmptyFile
EmptyInPattern
EmptyInterpolation
EmptyWhen
EnsureReturn
ErbNewArguments
FlipFlop
FloatComparison
FloatOutOfRange
FormatParameterMismatch
HashCompareByIdentity
HashNewWithKeywordArgumentsAsDefault
HeredocMethodCallPosition
IdentityComparison
ImplicitStringConcatenation
IncompatibleIoSelectWithFiberScheduler
IneffectiveAccessModifier
InheritException
InterpolationCheck
ItWithoutArgumentsInBlock
LambdaWithoutLiteralBlock
LiteralAsCondition
LiteralAssignmentInCondition
LiteralInInterpolation
Loop
MissingCopEnableDirective
MissingSuper
MixedCaseRange
MixedRegexpCaptureTypes
MultipleComparison
NestedMethodDefinition
NestedPercentLiteral
NextWithoutAccumulator
NoReturnInBeginEndBlocks
NonAtomicFileOperation
NonDeterministicRequireOrder
NonLocalExitFromIterator
NumberConversion
NumberedParameterAssignment
NumericOperationWithConstantResult
OrAssignmentToConstant
OrderedMagicComments
OutOfRangeRegexpRef
ParenthesesAsGroupedExpression
PercentStringArray
PercentSymbolArray
RaiseException
RandOne
RedundantCopDisableDirective
RedundantCopEnableDirective
RedundantDirGlobSort
RedundantRegexpQuantifiers
RedundantRequireStatement
RedundantSafeNavigation
RedundantSplatExpansion
RedundantStringCoercion
RedundantTypeConversion
RedundantWithIndex
RedundantWithObject
RefinementImportMethods
RegexpAsCondition
RequireParentheses
RequireRangeParentheses
RequireRelativeSelfPath
RescueException
RescueType
ReturnInVoidContext
SafeNavigationChain
SafeNavigationConsistency
SafeNavigationWithEmpty
ScriptPermission
SelfAssignment
SendWithMixinArgument
ShadowedArgument
ShadowedException
ShadowingOuterLocalVariable
SharedMutableDefault
StructNewOverride
SuppressedException
SuppressedExceptionInNumberConversion
SymbolConversion
Syntax
ToEnumArguments
ToJSON
TopLevelReturnWithArgument
TrailingCommaInAttributeDeclaration
TripleQuotes
UnderscorePrefixedVariableName
UnescapedBracketInRegexp
UnexpectedBlockArity
UnifiedInteger
UnmodifiedReduceAccumulator
UnreachableCode
UnreachableLoop
UnusedArgument
UnusedBlockArgument
UnusedMethodArgument
UriEscapeUnescape
UriRegexp
UselessAccessModifier
UselessAssignment
UselessConstantScoping
UselessDefaultValueArgument
UselessDefined
UselessElseWithoutRescue
UselessMethodDefinition
UselessNumericOperation
UselessOr
UselessRescue
UselessRuby2Keywords
UselessSetterCall
MethodVariableTracker
UselessTimes
Void
MatchRange
MessageAnnotator
MethodComplexity
MethodPreference
Metrics
AbcSize
BlockLength
BlockNesting
ClassLength
CollectionLiteralLength
CyclomaticComplexity
MethodLength
ModuleLength
ParameterLists
PerceivedComplexity
Utils
AbcSizeCalculator
CodeLengthCalculator
IteratingBlock
RepeatedAttributeDiscount
RepeatedCsendDiscount
Migration
DepartmentName
MinBodyLength
MinBranchesCount
MultilineElementIndentation
MultilineElementLineBreaks
MultilineExpressionIndentation
MultilineLiteralBraceCorrector
MultilineLiteralBraceLayout
Naming
AccessorMethodName
AsciiIdentifiers
BinaryOperatorParameterName
BlockForwarding
BlockParameterName
ClassAndModuleCamelCase
ConstantName
FileName
HeredocDelimiterCase
HeredocDelimiterNaming
InclusiveLanguage
MemoizedInstanceVariableName
MethodName
MethodParameterName
PredicateMethod
PredicatePrefix
RescuedExceptionsVariableName
VariableName
VariableNumber
NegativeConditional
NilMethods
Offense
OnNormalIfUnless
OrderedGemCorrector
OrderedGemNode
Parentheses
ParenthesesCorrector
PercentArray
PercentLiteral
PercentLiteralCorrector
PrecedingFollowingAlignment
PreferredDelimiters
PunctuationCorrector
RangeHelp
RationalLiteral
Registry
RequireLibrary
RequireLibraryCorrector
RescueNode
SafeAssignment
Security
CompoundHash
Eval
IoMethods
JSONLoad
MarshalLoad
Open
YAMLLoad
Severity
SpaceAfterPunctuation
SpaceBeforePunctuation
SpaceCorrector
StatementModifier
StringHelp
StringLiteralCorrector
StringLiteralsHelp
Style
AccessModifierDeclarations
AccessorGrouping
Alias
AmbiguousEndlessMethodDefinition
AndOr
ArgumentsForwarding
SendNodeClassifier
ArrayCoercion
ArrayFirstLast
ArrayIntersect
ArrayJoin
AsciiComments
Attr
AutoResourceCleanup
BarePercentLiterals
BeginBlock
BisectedAttrAccessor
Macro
BitwisePredicate
BlockComments
BlockDelimiters
CaseCorrector
CaseEquality
CaseLikeIf
CharacterLiteral
ClassAndModuleChildren
ClassCheck
ClassEqualityComparison
ClassMethods
ClassMethodsDefinitions
ClassVars
CollectionCompact
CollectionMethods
CollectionQuerying
ColonMethodCall
ColonMethodDefinition
CombinableDefined
CombinableLoops
CommandLiteral
CommentAnnotation
CommentedKeyword
ComparableBetween
ComparableClamp
ConcatArrayLiterals
ConditionalAssignment
ConditionalAssignmentHelper
ConditionalCorrectorHelper
ConstantVisibility
Copyright
DataInheritance
DateTime
DefWithParentheses
DigChain
Dir
DirEmpty
DisableCopsWithinSourceCodeDirective
DocumentDynamicEvalDefinition
DocumentationMethod
DoubleCopDisableDirective
DoubleNegation
EachForSimpleLoop
EachWithObject
EmptyBlockParameter
EmptyCaseCondition
EmptyElse
EmptyHeredoc
EmptyLambdaParameter
EmptyLiteral
EmptyMethod
EmptyStringInsideInterpolation
Encoding
EndBlock
EndlessMethod
EnvHome
EvalWithLocation
EvenOdd
ExactRegexpMatch
ExpandPathArguments
ExplicitBlockArgument
ExponentialNotation
FetchEnvVar
FileEmpty
FileNull
FileRead
FileTouch
FileWrite
FloatDivision
For
FormatString
FormatStringToken
FrozenStringLiteralComment
GlobalStdStream
GlobalVars
GuardClause
HashAsLastArrayItem
HashConversion
HashEachMethods
HashExcept
HashFetchChain
HashLikeCase
HashSlice
HashSyntax
HashTransformKeys
HashTransformValues
IdenticalConditionalBranches
IfCorrector
IfInsideElse
IfUnlessModifier
IfUnlessModifierOfIfUnless
IfWithBooleanLiteralBranches
IfWithSemicolon
ImplicitRuntimeError
InPatternThen
InfiniteLoop
InlineComment
InverseMethods
InvertibleUnlessCondition
IpAddresses
ItAssignment
ItBlockParameter
KeywordArgumentsMerging
KeywordParametersOrder
Lambda
LambdaCall
LineEndConcatenation
MagicCommentFormat
CommentRange
MapCompactWithConditionalBlock
MapIntoArray
MapToHash
MapToSet
MethodCallWithArgsParentheses
OmitParentheses
MethodCallWithoutArgsParentheses
MethodCalledOnDoEndBlock
MethodDefParentheses
MinMax
MinMaxComparison
MissingElse
MissingRespondToMissing
MixinGrouping
MixinUsage
ModuleFunction
MultilineBlockChain
MultilineIfModifier
MultilineIfThen
MultilineInPatternThen
MultilineMemoization
MultilineMethodSignature
MultilineTernaryOperator
MultilineWhenThen
MutableConstant
ShareableConstantValue
NegatedIf
NegatedIfElseCondition
NegatedUnless
NegatedWhile
NestedFileDirname
NestedModifier
NestedParenthesizedCalls
NestedTernaryOperator
Next
NilComparison
NilLambda
NonNilCheck
Not
NumberedParameters
NumberedParametersLimit
NumericLiteralPrefix
NumericLiterals
NumericPredicate
ObjectThen
OneLineConditional
OpenStructUse
OperatorMethodCall
OptionHash
OptionalArguments
OptionalBooleanParameter
OrAssignment
ParallelAssignment
AssignmentSorter
GenericCorrector
ModifierCorrector
RescueCorrector
ParenthesesAroundCondition
PercentLiteralDelimiters
PercentQLiterals
PerlBackrefs
PreferredHashMethods
Proc
QuotedSymbols
RaiseArgs
RandomWithOffset
RedundantArgument
RedundantArrayConstructor
RedundantArrayFlatten
RedundantAssignment
RedundantBegin
RedundantCapitalW
RedundantCondition
RedundantConditional
RedundantConstantBase
RedundantCurrentDirectoryInPath
RedundantDoubleSplatHashBraces
RedundantEach
RedundantException
RedundantFetchBlock
RedundantFileExtensionInRequire
RedundantFilterChain
RedundantFormat
RedundantFreeze
RedundantHeredocDelimiterQuotes
RedundantInitialize
RedundantInterpolation
RedundantInterpolationUnfreeze
RedundantLineContinuation
RedundantParentheses
RedundantPercentQ
RedundantRegexpArgument
RedundantRegexpCharacterClass
RedundantRegexpConstructor
RedundantRegexpEscape
RedundantReturn
RedundantSelf
RedundantSelfAssignment
RedundantSelfAssignmentBranch
RedundantSort
RedundantSortBy
RedundantStringEscape
RegexpLiteral
RequireOrder
RescueModifier
RescueStandardError
ReturnNil
ReturnNilInPredicateMethodDefinition
SafeNavigation
SafeNavigationChainLength
Sample
SelectByRegexp
Semicolon
Send
SendWithLiteralMethodName
SignalException
SingleArgumentDig
SingleLineBlockParams
SingleLineDoEndBlock
SingleLineMethods
SlicingWithRange
SoleNestedConditional
SpecialGlobalVars
StabbyLambdaParentheses
StaticClass
StderrPuts
StringChars
StringConcatenation
StringHashKeys
StringLiterals
StringLiteralsInInterpolation
StringMethods
Strip
StructInheritance
SuperArguments
SuperWithArgsParentheses
SwapValues
SymbolArray
SymbolLiteral
SymbolProc
TernaryCorrector
TernaryParentheses
TopLevelMethodDefinition
TrailingBodyOnClass
TrailingBodyOnMethodDefinition
TrailingBodyOnModule
TrailingCommaInArguments
TrailingCommaInArrayLiteral
TrailingCommaInBlockArgs
TrailingCommaInHashLiteral
TrailingMethodEndStatement
TrailingUnderscoreVariable
TrivialAccessors
UnlessElse
UnlessLogicalOperators
UnpackFirst
VariableInterpolation
WhenThen
WhileUntilDo
WhileUntilModifier
WordArray
YAMLFileRead
YodaCondition
YodaExpression
ZeroLengthPredicate
SurroundingSpace
SymbolHelp
TargetRubyVersion
Team
TrailingBody
TrailingComma
UncommunicativeName
UnusedArgCorrector
Util
FormatSequence
VariableForce
And
Assignment
Branch
Branchable
Case
CaseMatch
Ensure
ExceptionHandler
If
LogicalOperator
Or
Reference
Rescue
Scope
SimpleConditional
Until
UntilPost
Variable
VariableTable
While
WhilePost
VisibilityHelp
DirectiveComment
Error
ErrorWithAnalyzedFileLocation
ExcludeLimit
Ext
Comment
ProcessedSource
Range
RegexpNode
RegexpParser
Expression
CharacterSet
Map
FeatureLoader
FileFinder
FilePatterns
Formatter
AutoGenConfigFormatter
BaseFormatter
ClangStyleFormatter
Colorizable
DisabledConfigFormatter
EmacsStyleFormatter
FileListFormatter
FormatterSet
FuubarStyleFormatter
GitHubActionsFormatter
HTMLFormatter
CSSContext
ERBContext
JSONFormatter
JUnitFormatter
FailureElement
TestCaseElement
MarkdownFormatter
OffenseCountFormatter
PacmanFormatter
ProgressFormatter
QuietFormatter
SimpleTextFormatter
Report
TapFormatter
TextUtil
WorstOffendersFormatter
IncorrectCopNameError
Plugin
Diagnostic
Logger
Routes
Runtime
Server
Lockfile
Lsp
StdinRunner
ConfigurationError
MagicComment
EditorComment
EmacsComment
SimpleComment
VimComment
NameSimilarity
OptionArgumentError
Options
OptionsHelp
OptionsValidator
PathUtil
PendingCopsReporter
Platform
ConfigurationIntegrator
LoadError
Loader
NotSupportedError
RSpec
ExpectOffense
AnnotatedSource
ParallelFormatter
RakeTask
RemoteConfig
ResultCache
Runner
InfiniteCorrectionLoop
Cache
ClientCommand
Exec
Restart
Start
Status
Stop
Core
Helper
InvalidTokenError
ServerCommand
ServerStopRequest
SocketReader
UnknownServerCommandError
StringInterpreter
TargetFinder
TargetRuby
BundlerLockFile
Default
GemspecFile
RuboCopConfig
RuboCopEnvVar
RubyVersionFile
Source
ToolVersionsFile
ValidationError
Warning
YAMLDuplicationChecker
DuplicationCheckHandler
RubyLsp
Addon
RuntimeAdapter
String
This is the API documentation for rubocop-1.78.0 Documentation.