lib/stackviz.rb in stackviz-0.0.1 vs lib/stackviz.rb in stackviz-0.0.2
- old
+ new
@@ -1,6 +1,7 @@
require "stackviz/version"
require "stackprof"
+require "tempfile"
class Stackviz
def self.profile(mode: :cpu, path: nil, open: true, &block)
stackviz = self.new(path)
stackviz.run(mode, &block)