Sha256: 0287bea606588e45460ce5650990069fc6239de7c2bfe007ff6ddaab5148d20c
Contents?: true
Size: 1.54 KB
Versions: 1
Compression:
Stored size: 1.54 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/lstrip_rstrip' 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/redundant_sort_by' require_relative 'performance/regexp_match' require_relative 'performance/reverse_each' require_relative 'performance/sample' 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/unneeded_sort' require_relative 'performance/uri_default_parser' require_relative 'performance/chain_array_allocation'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rubocop-performance-1.0.0 | lib/rubocop/cop/performance_cops.rb |