Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added slightly better docs.

  • Loading branch information...
commit 0d18354536d4498c721c20ed30a4b1142df1bc3d 1 parent 32ce287
@jsuchal jsuchal authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/ruby-prof/abstract_printer.rb
View
5 lib/ruby-prof/abstract_printer.rb
@@ -20,7 +20,10 @@ def initialize(result, options = {})
# :print_file - True or false. Specifies if a method's source
# file should be printed. Default value if false.
#
- # :sort_method - Specifies method used for sorting method infos
+ # :sort_method - Specifies method used for sorting method infos.
+ # Available values are :total_time, :self_time,
+ # :wait_time, :children_time
+ # Default value is :total_time
def setup_options(options = {})
@options = options
end
Please sign in to comment.
Something went wrong with that request. Please try again.