We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6cc0a1 commit d0d8d06Copy full SHA for d0d8d06
.rubocop_todo.yml
@@ -6,12 +6,6 @@
6
# Note that changes in the inspected code, or installation of new
7
# versions of RuboCop, may require this file to be generated again.
8
9
-# Offense count: 2
10
-# Cop supports --auto-correct.
11
-Lint/UnifiedInteger:
12
- Exclude:
13
- - 'spec/spec_helper.rb'
14
-
15
# Offense count: 2
16
Metrics/AbcSize:
17
Max: 90
spec/spec_helper.rb
@@ -37,7 +37,9 @@ def new_client(option_overrides = {})
37
end
38
39
def num_classes
40
+ # rubocop:disable Lint/UnifiedInteger
41
0.class == Integer ? [Integer] : [Fixnum, Bignum]
42
+ # rubocop:enable Lint/UnifiedInteger
43
44
45
config.before :each do
0 commit comments