提交 d6645a5e 编写于 作者: J Jacob Kjeldahl 提交者: Pratik Naik

Supply valid ruby-prof parameters [#1804 state:resolved]

Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
上级 25724eed
......@@ -29,7 +29,7 @@
printer_class = RubyProf::FlatPrinter
end
printer = printer_class.new(results)
printer.print($stderr, 0)
printer.print($stderr)
rescue LoadError
require "prof"
$stderr.puts 'Using the old ruby-prof extension.'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册