RubyProf::AbstractPrinter
Generates graph profile reports as text. To use the graph printer:
result = RubyProf.profile do [code to profile] end printer = RubyProf::GraphPrinter.new(result) printer.print(STDOUT, {})
The constructor takes two arguments. See the README