# File lib/facets/more/minitar.rb, line 791 def self.open(output) stream = Output.new(output) return stream unless block_given? begin res = yield stream ensure stream.close end res end