fix rubocop Style/EmptyElse cop

This commit is contained in:
Pavel Lobashov 2015-03-24 19:29:07 +03:00
parent 4b60095371
commit 784e70be2a
3 changed files with 0 additions and 10 deletions

View File

@ -110,10 +110,6 @@ Style/CommentIndentation:
Style/Documentation:
Enabled: false
# Offense count: 3
Style/EmptyElse:
Enabled: false
# Offense count: 1
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/FormatString:

View File

@ -32,8 +32,6 @@ module Zip
def delete(entry)
if @entry_set.delete(to_key(entry))
entry
else
nil
end
end

View File

@ -328,8 +328,6 @@ module Zip
e.extra['UniversalTime'].atime
elsif e.extra.member? 'NTFS'
e.extra['NTFS'].atime
else
nil
end
end
@ -339,8 +337,6 @@ module Zip
e.extra['UniversalTime'].ctime
elsif e.extra.member? 'NTFS'
e.extra['NTFS'].ctime
else
nil
end
end