Sha256: 89f1fdd8861bdcbce5eb718ea2a7be7bd97672a3f26abcc0166f68c7c619e1ea
Contents?: true
Size: 1.37 KB
Versions: 4
Compression:
Stored size: 1.37 KB
Contents
# frozen_string_literal: true module RuboCop # RuboCop included the performance cops directly before version 1.0.0. # We can remove them to avoid warnings about redefining constants. module Cop remove_const('Performance') if const_defined?('Performance') end end require_relative 'performance/caller' require_relative 'performance/case_when_splat' require_relative 'performance/casecmp' require_relative 'performance/compare_with_block' require_relative 'performance/count' require_relative 'performance/detect' require_relative 'performance/double_start_end_with' require_relative 'performance/end_with' require_relative 'performance/fixed_size' require_relative 'performance/flat_map' require_relative 'performance/inefficient_hash_search' require_relative 'performance/open_struct' require_relative 'performance/range_include' require_relative 'performance/redundant_block_call' require_relative 'performance/redundant_match' require_relative 'performance/redundant_merge' require_relative 'performance/regexp_match' require_relative 'performance/reverse_each' require_relative 'performance/size' require_relative 'performance/start_with' require_relative 'performance/string_replacement' require_relative 'performance/times_map' require_relative 'performance/unfreeze_string' require_relative 'performance/uri_default_parser' require_relative 'performance/chain_array_allocation'
Version data entries
4 entries across 4 versions & 1 rubygems