File tree 3 files changed +2
-8
lines changed 3 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -50,12 +50,6 @@ Metrics/MethodLength:
50
50
Exclude :
51
51
- ' test/**/*.rb'
52
52
53
- # Rubocop confuses these as instances of "memoization".
54
- Naming/MemoizedInstanceVariableName :
55
- Exclude :
56
- - ' lib/zip/extra_field/old_unix.rb'
57
- - ' lib/zip/extra_field/unix.rb'
58
-
59
53
# Set a consistent way of checking types.
60
54
Style/ClassCheck :
61
55
EnforcedStyle : kind_of?
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ def merge(binstr)
25
25
@uid ||= uid
26
26
@gid ||= gid
27
27
@atime ||= atime
28
- @mtime ||= mtime
28
+ @mtime ||= mtime # rubocop:disable Naming/MemoizedInstanceVariableName
29
29
end
30
30
31
31
def ==( other )
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ def merge(binstr)
21
21
22
22
uid , gid = content . unpack ( 'vv' )
23
23
@uid ||= uid
24
- @gid ||= gid
24
+ @gid ||= gid # rubocop:disable Naming/MemoizedInstanceVariableName
25
25
end
26
26
27
27
def ==( other )
You can’t perform that action at this time.
0 commit comments