2021-05-24 01:24:22 +08:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2010-11-30 16:27:59 +08:00
|
|
|
module Zip
|
2022-11-07 01:59:34 +08:00
|
|
|
module NullDecompressor # :nodoc:all
|
2015-03-24 00:36:47 +08:00
|
|
|
module_function
|
2013-06-03 02:33:03 +08:00
|
|
|
|
2020-01-05 23:06:05 +08:00
|
|
|
def read(_length = nil, _outbuf = nil)
|
2010-11-30 16:27:59 +08:00
|
|
|
nil
|
|
|
|
end
|
2013-06-03 02:33:03 +08:00
|
|
|
|
2010-11-30 16:27:59 +08:00
|
|
|
def eof
|
|
|
|
true
|
|
|
|
end
|
2013-06-03 02:33:03 +08:00
|
|
|
|
2015-03-21 18:14:21 +08:00
|
|
|
alias eof? eof
|
2010-11-30 16:27:59 +08:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
# Copyright (C) 2002, 2003 Thomas Sondergaard
|
|
|
|
# rubyzip is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the ruby license.
|