require 'stringio'
require 'zlib'
+BEGIN { Dir.mkdir ENV["BP_TMP"] unless File.directory? ENV["BP_TMP"] }
+
TEST = false
# Monkey patch (evil) changing the to_s method of the Hash class to
io_in = self.open_input(input)
io_out = self.open_output(output)
- if block_given?
+ if block_given? # FIXME begin block outmost?
begin
yield io_in, io_out
ensure
end
# Method to write a Biopiece record to _ios_.
- def puts(foo)
- @ios << foo.to_s
+ def puts(record)
+ @ios << record.to_s
end
# Method to close _ios_.