Module: TavernaPlayer::Concerns::Zip
- Extended by:
- ActiveSupport::Concern
- Included in:
- Models::RunPort, Worker
- Defined in:
- lib/taverna_player/concerns/zip.rb
Instance Method Summary collapse
Instance Method Details
#read_file_from_zip(zip, file) ⇒ Object
19 20 21 22 23 |
# File 'lib/taverna_player/concerns/zip.rb', line 19 def read_file_from_zip(zip, file) ::Zip::File.open(zip) do |z| z.read(file) end end |