Module: RuboCop::Cop::RangeHelp
- Included in:
- AlignmentCorrector, Bundler::DuplicatedGem, Bundler::DuplicatedGroup, EndKeywordAlignment, Gemspec::DeprecatedAttributeAssignment, Gemspec::DuplicatedAssignment, InternalAffairs::MethodNameEndWith, InternalAffairs::NodeFirstOrLastArgument, InternalAffairs::NodeMatcherDirective, InternalAffairs::RedundantContextConfigParameter, InternalAffairs::RedundantDescribedClassAsSubject, InternalAffairs::RedundantLetRuboCopConfigNew, InternalAffairs::RedundantLocationArgument, InternalAffairs::RedundantMessageArgument, InternalAffairs::RedundantMethodDispatchNode, Layout::AccessModifierIndentation, Layout::BlockAlignment, Layout::CaseIndentation, Layout::ConditionPosition, Layout::DefEndAlignment, Layout::DotPosition, Layout::EmptyComment, Layout::EmptyLineAfterGuardClause, Layout::EmptyLineAfterMagicComment, Layout::EmptyLineAfterMultilineCondition, Layout::EmptyLineBetweenDefs, Layout::EmptyLines, Layout::EmptyLinesAroundAccessModifier, Layout::EmptyLinesAroundArguments, Layout::EmptyLinesAroundAttributeAccessor, Layout::EmptyLinesAroundBody, Layout::EndAlignment, Layout::EndOfLine, Layout::ExtraSpacing, Layout::FirstArgumentIndentation, Layout::HashAlignment, Layout::HeredocArgumentClosingParenthesis, Layout::IndentationStyle, Layout::IndentationWidth, Layout::InitialIndentation, Layout::LeadingCommentSpace, Layout::LineContinuationLeadingSpace, Layout::LineContinuationSpacing, Layout::LineLength, Layout::MultilineAssignmentLayout, Layout::MultilineBlockLayout, Layout::RescueEnsureAlignment, Layout::SingleLineBlockChain, Layout::SpaceAfterMethodName, Layout::SpaceAfterNot, Layout::SpaceAroundBlockParameters, Layout::SpaceAroundEqualsInParameterDefault, Layout::SpaceAroundMethodCallOperator, Layout::SpaceAroundOperators, Layout::SpaceBeforeBlockBraces, Layout::SpaceBeforeBrackets, Layout::SpaceBeforeFirstArg, Layout::SpaceInLambdaLiteral, Layout::SpaceInsideBlockBraces, Layout::SpaceInsideHashLiteralBraces, Layout::SpaceInsideParens, Layout::TrailingEmptyLines, Layout::TrailingWhitespace, Lint::AmbiguousAssignment, Lint::ConstantOverwrittenInRescue, Lint::DeprecatedOpenSSLConstant, Lint::DuplicateMagicComment, Lint::DuplicateRegexpCharacterClassElement, Lint::DuplicateRequire, Lint::ElseLayout, Lint::EmptyConditionalBody, Lint::ErbNewArguments, Lint::HeredocMethodCallPosition, Lint::LiteralAsCondition, Lint::LiteralInInterpolation, Lint::MissingCopEnableDirective, Lint::MixedCaseRange, Lint::ParenthesesAsGroupedExpression, Lint::RedundantCopDisableDirective, Lint::RedundantCopEnableDirective, Lint::RedundantRegexpQuantifiers, Lint::RedundantRequireStatement, Lint::RedundantWithIndex, Lint::RedundantWithObject, Lint::RequireParentheses, Lint::RequireRelativeSelfPath, Lint::SendWithMixinArgument, Lint::ShadowedException, Lint::TrailingCommaInAttributeDeclaration, Lint::UselessAccessModifier, Lint::UselessAssignment, Lint::UselessTimes, Lint::Void, MatchRange, Migration::DepartmentName, MultilineLiteralBraceCorrector, Naming::AsciiIdentifiers, Naming::BlockForwarding, Naming::InclusiveLanguage, Naming::MethodName, OrderedGemCorrector, ParenthesesCorrector, PercentLiteral, RequireLibraryCorrector, SpaceBeforePunctuation, Style::AccessModifierDeclarations, Style::AccessorGrouping, Style::AmbiguousEndlessMethodDefinition, Style::AndOr, Style::ArgumentsForwarding, Style::AsciiComments, Style::Attr, Style::BisectedAttrAccessor, Style::BlockComments, Style::BlockDelimiters, Style::CaseLikeIf, Style::ClassAndModuleChildren, Style::ClassEqualityComparison, Style::ClassMethodsDefinitions, Style::CollectionCompact, Style::CombinableDefined, Style::CommentAnnotation, Style::CommentedKeyword, Style::Copyright, Style::DataInheritance, Style::Documentation, Style::EachWithObject, Style::EmptyBlockParameter, Style::EmptyCaseCondition, Style::EmptyElse, Style::EmptyHeredoc, Style::EmptyLambdaParameter, Style::EmptyLiteral, Style::Encoding, Style::ExpandPathArguments, Style::ExplicitBlockArgument, Style::FileRead, Style::FileWrite, Style::FrozenStringLiteralComment, Style::GuardClause, Style::HashAsLastArrayItem, Style::HashExcept, Style::HashSyntax, Style::IdenticalConditionalBranches, Style::IfInsideElse, Style::IfUnlessModifier, Style::InverseMethods, Style::KeywordParametersOrder, Style::LineEndConcatenation, Style::MapIntoArray, Style::MapToHash, Style::MapToSet, Style::MethodCallWithArgsParentheses::OmitParentheses, Style::MethodCalledOnDoEndBlock, Style::MethodDefParentheses, Style::MinMaxComparison, Style::MultilineBlockChain, Style::MultilineIfThen, Style::MultilineInPatternThen, Style::MultilineMethodSignature, Style::MultilineWhenThen, Style::NegatedIfElseCondition, Style::NestedFileDirname, Style::NestedModifier, Style::NestedParenthesizedCalls, Style::NestedTernaryOperator, Style::Next, Style::NilLambda, Style::Not, Style::ParenthesesAroundCondition, Style::RedundantArgument, Style::RedundantBegin, Style::RedundantCondition, Style::RedundantCurrentDirectoryInPath, Style::RedundantFetchBlock, Style::RedundantFileExtensionInRequire, Style::RedundantInitialize, Style::RedundantRegexpEscape, Style::RedundantReturn, Style::RedundantSelfAssignment, Style::RedundantSort, Style::RedundantSortBy, Style::RegexpLiteral, Style::RequireOrder, Style::RescueModifier, Style::RescueStandardError, Style::SafeNavigation, Style::SelectByRegexp, Style::Semicolon, Style::SoleNestedConditional, Style::SpecialGlobalVars, Style::StaticClass, Style::StderrPuts, Style::StringChars, Style::StringConcatenation, Style::Strip, Style::StructInheritance, Style::SwapValues, Style::SymbolProc, Style::TrailingUnderscoreVariable, Style::UnlessElse, Style::YodaCondition, SurroundingSpace, TrailingComma, UnusedArgCorrector
- Defined in:
- lib/rubocop/cop/mixin/range_help.rb
Overview
Methods that calculate and return Parser::Source::Ranges