DelegateClass(Entry)
# File lib/zip/streamable_stream.rb, line 48 def clean_up @temp_file.unlink end
# File lib/zip/streamable_stream.rb, line 26 def get_input_stream if !@temp_file.closed? raise StandardError, "cannot open entry for reading while its open for writing - #{name}" end @temp_file.open # reopens tempfile from top @temp_file.binmode if block_given? begin yield(@temp_file) ensure @temp_file.close end else @temp_file end end
Generated with the Darkfish Rdoc Generator 2.