Method: Zip::ZipFile#read

Defined in:
lib/zip/zip_file.rb

#read(entry) ⇒ Object

Returns a string containing the contents of the specified entry



149
150
151
# File 'lib/zip/zip_file.rb', line 149

def read(entry)
  get_input_stream(entry) { |is| is.read }
end