Module: RuboCop::Cop::RangeHelp

Included in:
AlignmentCorrector, Bundler::DuplicatedGem, Bundler::InsecureProtocolSource, EndKeywordAlignment, Gemspec::DuplicatedAssignment, InternalAffairs::MethodNameEqual, InternalAffairs::RedundantLocationArgument, InternalAffairs::RedundantMessageArgument, Layout::AccessModifierIndentation, 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::FirstArgumentIndentation, Layout::HashAlignment, Layout::HeredocArgumentClosingParenthesis, Layout::IndentationWidth, Layout::InitialIndentation, Layout::LeadingCommentSpace, Layout::LineLength, 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::TrailingEmptyLines, Layout::TrailingWhitespace, Lint::ErbNewArguments, Lint::HeredocMethodCallPosition, Lint::LiteralInInterpolation, Lint::MissingCopEnableDirective, Lint::ParenthesesAsGroupedExpression, Lint::RedundantCopDisableDirective, Lint::RedundantCopEnableDirective, Lint::RedundantRequireStatement, Lint::RedundantWithIndex, Lint::RedundantWithObject, Lint::RequireParentheses, Lint::SendWithMixinArgument, Lint::ShadowedException, MatchRange, Migration::DepartmentName, MultilineLiteralBraceCorrector, Naming::AsciiIdentifiers, Naming::FileName, PercentLiteral, SpaceBeforePunctuation, Style::AndOr, Style::AsciiComments, Style::Attr, Style::BlockComments, Style::BracesAroundHashParameters, Style::ClassAndModuleChildren, Style::CommentAnnotation, 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::MultilineWhenThen, Style::NestedModifier, Style::NestedParenthesizedCalls, Style::Next, Style::Not, Style::RedundantCondition, Style::RedundantReturn, Style::RedundantSort, Style::RedundantSortBy, Style::RegexpLiteral, Style::RescueStandardError, Style::SafeNavigation, Style::Semicolon, Style::StderrPuts, Style::Strip, 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