Method: RubyProf::GraphPrinter#print
- Defined in:
- lib/ruby-prof/graph_printer.rb
#print(output = STDOUT, options = {}) ⇒ Object
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, = {}) @output = output () print_threads end |