Method: YARD::CLI::Stats#initialize

Defined in:
lib/yard/cli/stats.rb

#initialize(parse = true) ⇒ Stats

Returns a new instance of Stats.

Parameters:

  • parse (Boolean) (defaults to: true)

    whether to parse and load registry (see #parse)

Since:

  • 0.6.0



18
19
20
21
22
23
# File 'lib/yard/cli/stats.rb', line 18

def initialize(parse = true)
  super()
  @parse = parse
  @undoc_list = nil
  @compact = false
end