Class: RDoc::Stats::Verbose

Inherits:
Normal show all
Defined in:
lib/rdoc/stats/verbose.rb

Overview

Stats printer that prints everything documented, including the documented status

Instance Method Summary collapse

Methods inherited from Normal

#begin_adding, #done_adding

Methods inherited from Quiet

#begin_adding, #done_adding, #initialize

Constructor Details

This class inherits a constructor from RDoc::Stats::Quiet

Instance Method Details

#nodoc(co) ⇒ Object

Returns a marker for RDoc::CodeObject co being undocumented



10
11
12
# File 'lib/rdoc/stats/verbose.rb', line 10

def nodoc co
  " (undocumented)" unless co.documented?
end

:nodoc:



14
15
16
# File 'lib/rdoc/stats/verbose.rb', line 14

def print_alias as # :nodoc:
  puts "    alias #{as.new_name} #{as.old_name}#{nodoc as}"
end

:nodoc:



18
19
20
# File 'lib/rdoc/stats/verbose.rb', line 18

def print_attribute attribute # :nodoc:
  puts "    #{attribute.definition} #{attribute.name}#{nodoc attribute}"
end

:nodoc:



22
23
24
# File 'lib/rdoc/stats/verbose.rb', line 22

def print_class(klass) # :nodoc:
  puts "  class #{klass.full_name}#{nodoc klass}"
end

:nodoc:



26
27
28
# File 'lib/rdoc/stats/verbose.rb', line 26

def print_constant(constant) # :nodoc:
  puts "    #{constant.name}#{nodoc constant}"
end

:nodoc:



30
31
32
33
# File 'lib/rdoc/stats/verbose.rb', line 30

def print_file(files_so_far, file) # :nodoc:
  super
  puts
end

:nodoc:



35
36
37
# File 'lib/rdoc/stats/verbose.rb', line 35

def print_method(method) # :nodoc:
  puts "    #{method.singleton ? '::' : '#'}#{method.name}#{nodoc method}"
end

:nodoc:



39
40
41
# File 'lib/rdoc/stats/verbose.rb', line 39

def print_module(mod) # :nodoc:
  puts "  module #{mod.full_name}#{nodoc mod}"
end