lib/zip/null_compressor.rb in rubyzip-2.4.rc1 vs lib/zip/null_compressor.rb in rubyzip-3.0.0.alpha

- old
+ new

@@ -1,6 +1,8 @@ +# frozen_string_literal: true + module Zip - class NullCompressor < Compressor #:nodoc:all + class NullCompressor < Compressor # :nodoc:all include Singleton def <<(_data) raise IOError, 'closed stream' end