Fix Style/CommentedKeyword cop.
This commit is contained in:
parent
b3c4c37882
commit
b3f241353a
|
|
@ -151,12 +151,6 @@ Style/ClassCheck:
|
|||
- 'test/ioextras/fake_io_test.rb'
|
||||
- 'test/output_stream_test.rb'
|
||||
|
||||
# Offense count: 2
|
||||
Style/CommentedKeyword:
|
||||
Exclude:
|
||||
- 'lib/zip/ioextras.rb'
|
||||
- 'lib/zip/streamable_stream.rb'
|
||||
|
||||
# Offense count: 26
|
||||
Style/Documentation:
|
||||
Enabled: false
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ module Zip
|
|||
object == IO || super
|
||||
end
|
||||
end
|
||||
end # IOExtras namespace module
|
||||
end
|
||||
end
|
||||
|
||||
require 'zip/ioextras/abstract_input_stream'
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
module Zip
|
||||
class StreamableStream < DelegateClass(Entry) # nodoc:all
|
||||
class StreamableStream < DelegateClass(Entry) # :nodoc:all
|
||||
def initialize(entry)
|
||||
super(entry)
|
||||
@temp_file = Tempfile.new(::File.basename(name))
|
||||
|
|
|
|||
Loading…
Reference in New Issue