Table of Contents - rubocop-performance-1.11.5 Documentation
Pages
Classes and Modules
- RuboCop
- RuboCop::Cop
- RuboCop::Cop::Performance
- RuboCop::Cop::Performance::AncestorsInclude
- RuboCop::Cop::Performance::ArraySemiInfiniteRangeSlice
- RuboCop::Cop::Performance::BigDecimalWithNumericArgument
- RuboCop::Cop::Performance::BindCall
- RuboCop::Cop::Performance::BlockGivenWithExplicitBlock
- RuboCop::Cop::Performance::Caller
- RuboCop::Cop::Performance::CaseWhenSplat
- RuboCop::Cop::Performance::Casecmp
- RuboCop::Cop::Performance::ChainArrayAllocation
- RuboCop::Cop::Performance::CollectionLiteralInLoop
- RuboCop::Cop::Performance::CompareWithBlock
- RuboCop::Cop::Performance::ConstantRegexp
- RuboCop::Cop::Performance::Count
- RuboCop::Cop::Performance::DeletePrefix
- RuboCop::Cop::Performance::DeleteSuffix
- RuboCop::Cop::Performance::Detect
- RuboCop::Cop::Performance::DoubleStartEndWith
- RuboCop::Cop::Performance::EndWith
- RuboCop::Cop::Performance::FixedSize
- RuboCop::Cop::Performance::FlatMap
- RuboCop::Cop::Performance::InefficientHashSearch
- RuboCop::Cop::Performance::IoReadlines
- RuboCop::Cop::Performance::MapCompact
- RuboCop::Cop::Performance::MethodObjectAsBlock
- RuboCop::Cop::Performance::OpenStruct
- RuboCop::Cop::Performance::RangeInclude
- RuboCop::Cop::Performance::RedundantBlockCall
- RuboCop::Cop::Performance::RedundantEqualityComparisonBlock
- RuboCop::Cop::Performance::RedundantMatch
- RuboCop::Cop::Performance::RedundantMerge
- RuboCop::Cop::Performance::RedundantMerge::EachWithObjectInspector
- RuboCop::Cop::Performance::RedundantSortBlock
- RuboCop::Cop::Performance::RedundantSplitRegexpArgument
- RuboCop::Cop::Performance::RedundantStringChars
- RuboCop::Cop::Performance::RegexpMatch
- RuboCop::Cop::Performance::ReverseEach
- RuboCop::Cop::Performance::ReverseFirst
- RuboCop::Cop::Performance::SelectMap
- RuboCop::Cop::Performance::Size
- RuboCop::Cop::Performance::SortReverse
- RuboCop::Cop::Performance::Squeeze
- RuboCop::Cop::Performance::StartWith
- RuboCop::Cop::Performance::StringInclude
- RuboCop::Cop::Performance::StringReplacement
- RuboCop::Cop::Performance::Sum
- RuboCop::Cop::Performance::TimesMap
- RuboCop::Cop::Performance::UnfreezeString
- RuboCop::Cop::Performance::UriDefaultParser
- RuboCop::Cop::RegexpMetacharacter
- RuboCop::Cop::SortBlock
- RuboCop::Performance
- RuboCop::Performance::Inject
- RuboCop::Performance::Version
Methods
- ::defaults! — RuboCop::Performance::Inject
- ::document_version — RuboCop::Performance::Version
- ::new — RuboCop::Cop::Performance::RedundantMerge::EachWithObjectInspector
- #accept_first_call? — RuboCop::Cop::Performance::Detect
- #accept_first_param? — RuboCop::Cop::Performance::StringReplacement
- #accept_second_param? — RuboCop::Cop::Performance::StringReplacement
- #allowed_argument? — RuboCop::Cop::Performance::FixedSize
- #allowed_parent? — RuboCop::Cop::Performance::FixedSize
- #allowed_variable? — RuboCop::Cop::Performance::FixedSize
- #args_include_block_pass? — RuboCop::Cop::Performance::RedundantBlockCall
- #array_literal? — RuboCop::Cop::Performance::Sum
- #autocorrect — RuboCop::Cop::Performance::CaseWhenSplat
- #autocorrect — RuboCop::Cop::Performance::Count
- #autocorrect — RuboCop::Cop::Performance::Detect
- #autocorrect — RuboCop::Cop::Performance::DoubleStartEndWith
- #autocorrect — RuboCop::Cop::Performance::FlatMap
- #autocorrect — RuboCop::Cop::Performance::IoReadlines
- #autocorrect — RuboCop::Cop::Performance::RedundantBlockCall
- #autocorrect — RuboCop::Cop::Performance::RedundantMatch
- #autocorrect — RuboCop::Cop::Performance::RegexpMatch
- #autocorrect — RuboCop::Cop::Performance::StringReplacement
- #autocorrect — RuboCop::Cop::Performance::Sum
- #autocorrect_argument — RuboCop::Cop::Performance::InefficientHashSearch
- #autocorrect_hash_expression — RuboCop::Cop::Performance::InefficientHashSearch
- #autocorrect_method — RuboCop::Cop::Performance::InefficientHashSearch
- #autocorrect_sum_map — RuboCop::Cop::Performance::Sum
- #build_bad_method — RuboCop::Cop::Performance::IoReadlines
- #build_bad_method — RuboCop::Cop::Performance::RedundantStringChars
- #build_bad_method — RuboCop::Cop::Performance::ReverseFirst
- #build_block_bad_method — RuboCop::Cop::Performance::Sum
- #build_block_message — RuboCop::Cop::Performance::Sum
- #build_call_args — RuboCop::Cop::Performance::BindCall
- #build_call_args — RuboCop::Cop::Performance::IoReadlines
- #build_call_args — RuboCop::Cop::Performance::RedundantStringChars
- #build_good_method — RuboCop::Cop::Performance::Casecmp
- #build_good_method — RuboCop::Cop::Performance::IoReadlines
- #build_good_method — RuboCop::Cop::Performance::RedundantStringChars
- #build_good_method — RuboCop::Cop::Performance::ReverseFirst
- #build_good_method — RuboCop::Cop::Performance::Sum
- #build_message — RuboCop::Cop::Performance::RedundantStringChars
- #build_message — RuboCop::Cop::Performance::ReverseFirst
- #build_method_bad_method — RuboCop::Cop::Performance::Sum
- #build_method_message — RuboCop::Cop::Performance::Sum
- #build_sum_map_message — RuboCop::Cop::Performance::Sum
- #calls_to_report — RuboCop::Cop::Performance::RedundantBlockCall
- #check — RuboCop::Cop::Performance::TimesMap
- #check_condition — RuboCop::Cop::Performance::RegexpMatch
- #check_for_active_support_aliases? — RuboCop::Cop::Performance::DoubleStartEndWith
- #check_literal? — RuboCop::Cop::Performance::CollectionLiteralInLoop
- #combine_args — RuboCop::Cop::Performance::DoubleStartEndWith
- #compare_range — RuboCop::Cop::Performance::CompareWithBlock
- #contains_double_splat? — RuboCop::Cop::Performance::FixedSize
- #contains_splat? — RuboCop::Cop::Performance::FixedSize
- #correct_multiple_elements — RuboCop::Cop::Performance::RedundantMerge
- #correct_operator — RuboCop::Cop::Performance::RegexpMatch
- #correct_single_element — RuboCop::Cop::Performance::RedundantMerge
- #correction — RuboCop::Cop::Performance::ArraySemiInfiniteRangeSlice
- #correction — RuboCop::Cop::Performance::Casecmp
- #correction_range — RuboCop::Cop::Performance::BindCall
- #correction_range — RuboCop::Cop::Performance::IoReadlines
- #correction_range — RuboCop::Cop::Performance::RedundantStringChars
- #correction_range — RuboCop::Cop::Performance::RegexpMatch
- #correction_range — RuboCop::Cop::Performance::ReverseFirst
- #current_method — RuboCop::Cop::Performance::InefficientHashSearch
- #determinist_regexp? — RuboCop::Cop::Performance::RedundantSplitRegexpArgument
- #drop_end_metacharacter — RuboCop::Cop::RegexpMetacharacter
- #drop_start_metacharacter — RuboCop::Cop::RegexpMetacharacter
- #each_redundant_merge — RuboCop::Cop::Performance::RedundantMerge
- #eligible_node? — RuboCop::Cop::Performance::Count
- #eligible_receiver? — RuboCop::Cop::Performance::RedundantMerge::EachWithObjectInspector
- #empty_array_literal? — RuboCop::Cop::Performance::Sum
- #enumerable_method? — RuboCop::Cop::Performance::CollectionLiteralInLoop
- #find_last_match — RuboCop::Cop::Performance::RegexpMatch
- #first_source — RuboCop::Cop::Performance::StringReplacement
- #handle_sum_candidate — RuboCop::Cop::Performance::Sum
- #handle_sum_map_candidate — RuboCop::Cop::Performance::Sum
- #include_interpolated_const? — RuboCop::Cop::Performance::ConstantRegexp
- #indent_for — RuboCop::Cop::Performance::CaseWhenSplat
- #indent_width — RuboCop::Cop::Performance::RedundantMerge
- #inline_fix_branch — RuboCop::Cop::Performance::CaseWhenSplat
- #int_value — RuboCop::Cop::Performance::Caller
- #invoke_method_after_map_compact_on_same_line? — RuboCop::Cop::Performance::MapCompact
- #keyword_loop? — RuboCop::Cop::Performance::CollectionLiteralInLoop
- #kwsplat_used? — RuboCop::Cop::Performance::RedundantMerge
- #last_match_used? — RuboCop::Cop::Performance::RegexpMatch
- #lazy? — RuboCop::Cop::Performance::Detect
- #leading_spaces — RuboCop::Cop::Performance::RedundantMerge
- #literal? — RuboCop::Cop::Performance::StringInclude
- #literal_at_end? — RuboCop::Cop::RegexpMetacharacter
- #literal_at_end_with_backslash_z? — RuboCop::Cop::RegexpMetacharacter
- #literal_at_end_with_dollar? — RuboCop::Cop::RegexpMetacharacter
- #literal_at_start? — RuboCop::Cop::RegexpMetacharacter
- #literal_at_start_with_backslash_a? — RuboCop::Cop::RegexpMetacharacter
- #literal_at_start_with_caret? — RuboCop::Cop::RegexpMetacharacter
- #literal_class — RuboCop::Cop::Performance::CollectionLiteralInLoop
- #loop? — RuboCop::Cop::Performance::CollectionLiteralInLoop
- #map_method_candidate — RuboCop::Cop::Performance::SelectMap
- #match_gvar? — RuboCop::Cop::Performance::RegexpMatch
- #match_with_lvasgn? — RuboCop::Cop::Performance::RegexpMatch
- #max_key_value_pairs — RuboCop::Cop::Performance::RedundantMerge
- #message — RuboCop::Cop::Performance::BindCall
- #message — RuboCop::Cop::Performance::CompareWithBlock
- #message — RuboCop::Cop::Performance::DoubleStartEndWith
- #message — RuboCop::Cop::Performance::InefficientHashSearch
- #message — RuboCop::Cop::Performance::RedundantMerge
- #message — RuboCop::Cop::Performance::RedundantSortBlock
- #message — RuboCop::Cop::Performance::RegexpMatch
- #message — RuboCop::Cop::Performance::SortReverse
- #message — RuboCop::Cop::Performance::StringReplacement
- #message — RuboCop::Cop::Performance::TimesMap
- #message_for_method — RuboCop::Cop::Performance::Detect
- #method_call_with_args_range — RuboCop::Cop::Performance::Sum
- #method_suffix — RuboCop::Cop::Performance::StringReplacement
- #min_size — RuboCop::Cop::Performance::CollectionLiteralInLoop
- #modifier_form? — RuboCop::Cop::Performance::RegexpMatch
- #needs_reorder? — RuboCop::Cop::Performance::CaseWhenSplat
- #new_argument — RuboCop::Cop::Performance::RedundantEqualityComparisonBlock
- #new_branch_without_then — RuboCop::Cop::Performance::CaseWhenSplat
- #new_condition_with_then — RuboCop::Cop::Performance::CaseWhenSplat
- #next_match_pos — RuboCop::Cop::Performance::RegexpMatch
- #node_within_enumerable_loop? — RuboCop::Cop::Performance::CollectionLiteralInLoop
- #non_redundant_merge? — RuboCop::Cop::Performance::RedundantMerge
- #non_redundant_pairs? — RuboCop::Cop::Performance::RedundantMerge
- #non_redundant_value_used? — RuboCop::Cop::Performance::RedundantMerge
- #non_splat? — RuboCop::Cop::Performance::CaseWhenSplat
- #non_string_argument? — RuboCop::Cop::Performance::FixedSize
- #nonmutable_method_of_array_or_hash? — RuboCop::Cop::Performance::CollectionLiteralInLoop
- #offense — RuboCop::Cop::Performance::StringReplacement
- #offense_for_levels — RuboCop::Cop::Performance::FlatMap
- #offense_for_method — RuboCop::Cop::Performance::FlatMap
- #offense_range — RuboCop::Cop::Performance::IoReadlines
- #offense_range — RuboCop::Cop::Performance::RedundantEqualityComparisonBlock
- #offense_range — RuboCop::Cop::Performance::RedundantStringChars
- #offense_range — RuboCop::Cop::Performance::ReverseEach
- #offense_range — RuboCop::Cop::Performance::SelectMap
- #on_block — RuboCop::Cop::Performance::CompareWithBlock
- #on_block — RuboCop::Cop::Performance::RedundantEqualityComparisonBlock
- #on_block — RuboCop::Cop::Performance::RedundantSortBlock
- #on_block — RuboCop::Cop::Performance::SortReverse
- #on_block — RuboCop::Cop::Performance::Sum
- #on_block — RuboCop::Cop::Performance::TimesMap
- #on_block_pass — RuboCop::Cop::Performance::MethodObjectAsBlock
- #on_case — RuboCop::Cop::Performance::CaseWhenSplat
- #on_case — RuboCop::Cop::Performance::RegexpMatch
- #on_def — RuboCop::Cop::Performance::RedundantBlockCall
- #on_if — RuboCop::Cop::Performance::RegexpMatch
- #on_match_with_lvasgn — RuboCop::Cop::Performance::EndWith
- #on_match_with_lvasgn — RuboCop::Cop::Performance::StartWith
- #on_match_with_lvasgn — RuboCop::Cop::Performance::StringInclude
- #on_or — RuboCop::Cop::Performance::DoubleStartEndWith
- #on_regexp — RuboCop::Cop::Performance::ConstantRegexp
- #on_send — RuboCop::Cop::Performance::AncestorsInclude
- #on_send — RuboCop::Cop::Performance::ArraySemiInfiniteRangeSlice
- #on_send — RuboCop::Cop::Performance::BigDecimalWithNumericArgument
- #on_send — RuboCop::Cop::Performance::BindCall
- #on_send — RuboCop::Cop::Performance::BlockGivenWithExplicitBlock
- #on_send — RuboCop::Cop::Performance::Caller
- #on_send — RuboCop::Cop::Performance::Casecmp
- #on_send — RuboCop::Cop::Performance::ChainArrayAllocation
- #on_send — RuboCop::Cop::Performance::CollectionLiteralInLoop
- #on_send — RuboCop::Cop::Performance::Count
- #on_send — RuboCop::Cop::Performance::DeletePrefix
- #on_send — RuboCop::Cop::Performance::DeleteSuffix
- #on_send — RuboCop::Cop::Performance::Detect
- #on_send — RuboCop::Cop::Performance::EndWith
- #on_send — RuboCop::Cop::Performance::FixedSize
- #on_send — RuboCop::Cop::Performance::FlatMap
- #on_send — RuboCop::Cop::Performance::InefficientHashSearch
- #on_send — RuboCop::Cop::Performance::IoReadlines
- #on_send — RuboCop::Cop::Performance::MapCompact
- #on_send — RuboCop::Cop::Performance::OpenStruct
- #on_send — RuboCop::Cop::Performance::RangeInclude
- #on_send — RuboCop::Cop::Performance::RedundantMatch
- #on_send — RuboCop::Cop::Performance::RedundantMerge
- #on_send — RuboCop::Cop::Performance::RedundantSplitRegexpArgument
- #on_send — RuboCop::Cop::Performance::RedundantStringChars
- #on_send — RuboCop::Cop::Performance::ReverseEach
- #on_send — RuboCop::Cop::Performance::ReverseFirst
- #on_send — RuboCop::Cop::Performance::SelectMap
- #on_send — RuboCop::Cop::Performance::Size
- #on_send — RuboCop::Cop::Performance::Squeeze
- #on_send — RuboCop::Cop::Performance::StartWith
- #on_send — RuboCop::Cop::Performance::StringInclude
- #on_send — RuboCop::Cop::Performance::StringReplacement
- #on_send — RuboCop::Cop::Performance::Sum
- #on_send — RuboCop::Cop::Performance::TimesMap
- #on_send — RuboCop::Cop::Performance::UnfreezeString
- #on_send — RuboCop::Cop::Performance::UriDefaultParser
- #one_block_argument? — RuboCop::Cop::Performance::RedundantEqualityComparisonBlock
- #parent_is_loop? — RuboCop::Cop::Performance::CollectionLiteralInLoop
- #preferred_method — RuboCop::Cop::Performance::Detect
- #process_source — RuboCop::Cop::Performance::DoubleStartEndWith
- #range — RuboCop::Cop::Performance::AncestorsInclude
- #range — RuboCop::Cop::Performance::CaseWhenSplat
- #range — RuboCop::Cop::Performance::StringReplacement
- #range_to_search_for_last_matches — RuboCop::Cop::Performance::RegexpMatch
- #register_offense — RuboCop::Cop::Performance::Detect
- #register_offense — RuboCop::Cop::Performance::FlatMap
- #remove_compact_method — RuboCop::Cop::Performance::MapCompact
- #remove_second_param — RuboCop::Cop::Performance::StringReplacement
- #reorder_condition — RuboCop::Cop::Performance::CaseWhenSplat
- #reordering_correction — RuboCop::Cop::Performance::CaseWhenSplat
- #repeating_literal? — RuboCop::Cop::Performance::Squeeze
- #replace_method — RuboCop::Cop::Performance::StringReplacement
- #replace_with_match_predicate_method — RuboCop::Cop::Performance::RegexpMatch
- #replacement — RuboCop::Cop::Performance::CaseWhenSplat
- #replacement — RuboCop::Cop::Performance::Detect
- #replacement — RuboCop::Cop::Performance::RedundantSplitRegexpArgument
- #replacement_method — RuboCop::Cop::Performance::StringReplacement
- #rewrite_with_modifier — RuboCop::Cop::Performance::RedundantMerge
- #safe_multiline? — RuboCop::Cop::RegexpMetacharacter
- #same_block_argument_and_is_a_argument? — RuboCop::Cop::Performance::RedundantEqualityComparisonBlock
- #scope_body — RuboCop::Cop::Performance::RegexpMatch
- #scope_root — RuboCop::Cop::Performance::RegexpMatch
- #second_argument — RuboCop::Cop::Performance::RedundantMerge::EachWithObjectInspector
- #shadowed_block_argument? — RuboCop::Cop::Performance::RedundantBlockCall
- #slow_compare? — RuboCop::Cop::Performance::CompareWithBlock
- #sort_range — RuboCop::Cop::SortBlock
- #source_from_regex_constructor — RuboCop::Cop::Performance::StringReplacement
- #source_from_regex_literal — RuboCop::Cop::Performance::StringReplacement
- #source_starting_at — RuboCop::Cop::Performance::Count
- #specifies_precision? — RuboCop::Cop::Performance::BigDecimalWithNumericArgument
- #splat_offenses — RuboCop::Cop::Performance::CaseWhenSplat
- #string_value — RuboCop::Cop::Performance::UnfreezeString
- #sum_block_range — RuboCop::Cop::Performance::Sum
- #sum_map_range — RuboCop::Cop::Performance::Sum
- #sum_method_range — RuboCop::Cop::Performance::Sum
- #swap_receiver_and_arg — RuboCop::Cop::Performance::RegexpMatch
- #take_method_apart — RuboCop::Cop::Performance::Casecmp
- #to_assignments — RuboCop::Cop::Performance::RedundantMerge
- #unwind — RuboCop::Cop::Performance::RedundantMerge::EachWithObjectInspector
- #use_block_argument_in_method_argument_of_operand? — RuboCop::Cop::Performance::RedundantEqualityComparisonBlock
- #use_equality_comparison_block? — RuboCop::Cop::Performance::RedundantEqualityComparisonBlock
- #use_long_method — RuboCop::Cop::Performance::InefficientHashSearch
- #use_return_value? — RuboCop::Cop::Performance::ReverseEach
- #value_used? — RuboCop::Cop::Performance::RedundantMerge::EachWithObjectInspector
- #when_branch_range — RuboCop::Cop::Performance::CaseWhenSplat
- #within_allowed_assignment? — RuboCop::Cop::Performance::ConstantRegexp