Module: RuboCop::Cop::RangeHelp

Included in:
AlignmentCorrector, Bundler::DuplicatedGem, Bundler::InsecureProtocolSource, EndKeywordAlignment, Gemspec::DuplicatedAssignment, InternalAffairs::RedundantLocationArgument, InternalAffairs::RedundantMessageArgument, Layout::AccessModifierIndentation, 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::HeredocArgumentClosingParenthesis, Layout::IndentFirstArgument, 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::HeredocMethodCallPosition, 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, RuboCop::Cop::Rails::FilePath, RuboCop::Cop::Rails::FindBy, RuboCop::Cop::Rails::RedundantAllowNil, RuboCop::Cop::Rails::RedundantReceiverInWithOptions, RuboCop::Cop::Rails::RelativeDateConstant, 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::InverseMethods, Style::LineEndConcatenation, Style::MethodCalledOnDoEndBlock, Style::MethodDefParentheses, Style::MultilineBlockChain, Style::MultilineIfThen, Style::NestedModifier, Style::NestedParenthesizedCalls, Style::Next, Style::Not, Style::RedundantReturn, Style::RedundantSortBy, Style::RegexpLiteral, Style::RescueStandardError, Style::SafeNavigation, Style::Semicolon, Style::StderrPuts, Style::Strip, Style::SymbolProc, Style::TrailingUnderscoreVariable, Style::UnlessElse, Style::UnneededCondition, Style::UnneededSort, Style::YodaCondition, SurroundingSpace, TrailingComma, UnusedArgCorrector
Defined in:
lib/rubocop/cop/mixin/range_help.rb

Overview

Methods that calculate and return Parser::Source::Ranges