lib/rubocop/cop/registry.rb in rubocop-1.9.1 vs lib/rubocop/cop/registry.rb in rubocop-1.10.0

- old
+ new

@@ -183,10 +183,10 @@ cops == other.cops end def sort! clear_enrollment_queue - @registry = Hash[@registry.sort_by { |badge, _| badge.cop_name }] + @registry = @registry.sort_by { |badge, _| badge.cop_name }.to_h self end def select(&block)