Method: RubyProf::GraphPrinter#print

Defined in:
lib/ruby-prof/graph_printer.rb

Print a graph report to the provided output.

output - Any IO oject, including STDOUT or a file. The default value is STDOUT.

options - Hash of print options. See #setup_options

for more information.


56
57
58
59
60
# File 'lib/ruby-prof/graph_printer.rb', line 56

def print(output = STDOUT, options = {})
  @output = output
  setup_options(options)
  print_threads
end