# File metrics_utils.rb, line 53 def open(&blk) # :yields: @plot_pipe = IO.popen(@plot_cmd, "w") if blk begin blk.call ensure self.close end end nil end