method

new

v1_9_2_180 - Show latest stable - Class: RDoc::Stats
new(total_files, verbosity = 1)
public

No documentation available.

# File lib/rdoc/stats.rb, line 17
  def initialize(total_files, verbosity = 1)
    @nodoc_constants = 0
    @nodoc_methods   = 0

    @num_constants = 0
    @num_files     = 0
    @num_methods   = 0

    @total_files = total_files

    @start = Time.now

    @display = case verbosity
               when 0 then Quiet.new   total_files
               when 1 then Normal.new  total_files
               else        Verbose.new total_files
               end
  end