Skip to content

Commit

Permalink
Remove deprecated InputStream::open_buffer method.
Browse files Browse the repository at this point in the history
  • Loading branch information
hainesr committed Mar 2, 2024
1 parent e83bec4 commit bfc9324
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/zip/input_stream.rb
Expand Up @@ -115,11 +115,6 @@ def open(filename_or_io, offset: 0, decrypter: nil)
zio.close if zio
end
end

def open_buffer(filename_or_io, offset: 0) # :nodoc:
warn 'open_buffer is deprecated!!! Use open instead!'
::Zip::InputStream.open(filename_or_io, offset: offset)
end
end

protected
Expand Down

0 comments on commit bfc9324

Please sign in to comment.