Skip to content

Commit

Permalink
Added slightly better docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsuchal committed Sep 16, 2011
1 parent 32ce287 commit 0d18354
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/ruby-prof/abstract_printer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0d18354

Please sign in to comment.