Module: RuboCop::Cop::RangeHelp
- Included in:
- AlignmentCorrector, Bundler::DuplicatedGem, Bundler::InsecureProtocolSource, Gemspec::DuplicatedAssignment, InternalAffairs::RedundantLocationArgument, InternalAffairs::RedundantMessageArgument, Layout::AlignHash, Layout::BlockAlignment, Layout::CaseIndentation, Layout::DefEndAlignment, Layout::EmptyComment, Layout::EmptyLineAfterGuardClause, Layout::EmptyLineAfterMagicComment, Layout::EmptyLineBetweenDefs, Layout::EmptyLines, Layout::EmptyLinesAroundAccessModifier, Layout::EmptyLinesAroundArguments, Layout::EmptyLinesAroundBody, Layout::EndAlignment, Layout::EndOfLine, Layout::ExtraSpacing, Layout::FirstParameterIndentation, Layout::IndentationWidth, Layout::InitialIndentation, Layout::LeadingCommentSpace, Layout::MultilineAssignmentLayout, Layout::MultilineBlockLayout, Layout::RescueEnsureAlignment, Layout::SpaceAfterMethodName, Layout::SpaceAfterNot, Layout::SpaceAroundBlockParameters, Layout::SpaceAroundEqualsInParameterDefault, Layout::SpaceAroundOperators, Layout::SpaceBeforeBlockBraces, Layout::SpaceBeforeFirstArg, Layout::SpaceInLambdaLiteral, Layout::SpaceInsideBlockBraces, Layout::SpaceInsideHashLiteralBraces, Layout::SpaceInsideParens, Layout::SpaceInsideStringInterpolation, Layout::Tab, Layout::TrailingBlankLines, Layout::TrailingWhitespace, Lint::LiteralInInterpolation, Lint::MissingCopEnableDirective, Lint::ParenthesesAsGroupedExpression, Lint::RedundantWithIndex, Lint::RedundantWithObject, Lint::RequireParentheses, Lint::ShadowedException, Lint::UnneededCopDisableDirective, Lint::UnneededCopEnableDirective, Lint::UnneededRequireStatement, MatchRange, Metrics::LineLength, MultilineLiteralBraceCorrector, Naming::AsciiIdentifiers, Naming::FileName, PercentLiteral, Performance::CaseWhenSplat, Performance::ChainArrayAllocation, Performance::CompareWithBlock, Performance::Count, Performance::FlatMap, Performance::LstripRstrip, Performance::RedundantSortBy, Performance::ReverseEach, Performance::StringReplacement, Performance::UnneededSort, RuboCop::Cop::Rails::FilePath, RuboCop::Cop::Rails::FindBy, RuboCop::Cop::Rails::RedundantReceiverInWithOptions, RuboCop::Cop::Rails::SafeNavigation, RuboCop::Cop::Rails::UniqBeforePluck, SpaceBeforePunctuation, Style::AndOr, Style::AsciiComments, Style::Attr, Style::BlockComments, Style::BracesAroundHashParameters, Style::ClassAndModuleChildren, Style::CommentAnnotation, Style::CommentedKeyword, Style::Copyright, Style::EachWithObject, Style::EmptyBlockParameter, Style::EmptyCaseCondition, Style::EmptyElse, Style::EmptyLambdaParameter, Style::EmptyLiteral, Style::Encoding, Style::ExpandPathArguments, Style::For, Style::FrozenStringLiteralComment, Style::HashSyntax, Style::LineEndConcatenation, Style::MethodCalledOnDoEndBlock, Style::MethodDefParentheses, Style::MultilineBlockChain, Style::MultilineIfThen, Style::NestedModifier, Style::NestedParenthesizedCalls, Style::Next, Style::Not, Style::RedundantReturn, Style::RegexpLiteral, Style::RescueStandardError, Style::SafeNavigation, Style::Semicolon, Style::StderrPuts, Style::SymbolProc, Style::TrailingUnderscoreVariable, Style::UnlessElse, Style::UnneededCondition, Style::YodaCondition, SurroundingSpace, TrailingComma, UnusedArgCorrector
- Defined in:
- lib/rubocop/cop/mixin/range_help.rb
Overview
Methods that calculate and return Parser::Source::Ranges