Class: RDoc::Stats::Verbose
- Defined in:
- lib/rdoc/stats/verbose.rb
Overview
Stats printer that prints everything documented, including the documented status
Instance Method Summary collapse
-
#nodoc(co) ⇒ Object
Returns a marker for RDoc::CodeObject
co
being undocumented. -
#print_alias(as) ⇒ Object
:nodoc:.
-
#print_attribute(attribute) ⇒ Object
:nodoc:.
-
#print_class(klass) ⇒ Object
:nodoc:.
-
#print_constant(constant) ⇒ Object
:nodoc:.
-
#print_file(files_so_far, file) ⇒ Object
:nodoc:.
-
#print_method(method) ⇒ Object
:nodoc:.
-
#print_module(mod) ⇒ Object
:nodoc:.
Methods inherited from Normal
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
11 12 13 |
# File 'lib/rdoc/stats/verbose.rb', line 11 def nodoc co " (undocumented)" unless co.documented? end |
#print_alias(as) ⇒ Object
:nodoc:
15 16 17 |
# File 'lib/rdoc/stats/verbose.rb', line 15 def print_alias as # :nodoc: puts " alias #{as.new_name} #{as.old_name}#{nodoc as}" end |
#print_attribute(attribute) ⇒ Object
:nodoc:
19 20 21 |
# File 'lib/rdoc/stats/verbose.rb', line 19 def print_attribute attribute # :nodoc: puts " #{attribute.definition} #{attribute.name}#{nodoc attribute}" end |
#print_class(klass) ⇒ Object
:nodoc:
23 24 25 |
# File 'lib/rdoc/stats/verbose.rb', line 23 def print_class(klass) # :nodoc: puts " class #{klass.full_name}#{nodoc klass}" end |
#print_constant(constant) ⇒ Object
:nodoc:
27 28 29 |
# File 'lib/rdoc/stats/verbose.rb', line 27 def print_constant(constant) # :nodoc: puts " #{constant.name}#{nodoc constant}" end |
#print_file(files_so_far, file) ⇒ Object
:nodoc:
31 32 33 34 |
# File 'lib/rdoc/stats/verbose.rb', line 31 def print_file(files_so_far, file) # :nodoc: super puts end |
#print_method(method) ⇒ Object
:nodoc:
36 37 38 |
# File 'lib/rdoc/stats/verbose.rb', line 36 def print_method(method) # :nodoc: puts " #{method.singleton ? '::' : '#'}#{method.name}#{nodoc method}" end |
#print_module(mod) ⇒ Object
:nodoc:
40 41 42 |
# File 'lib/rdoc/stats/verbose.rb', line 40 def print_module(mod) # :nodoc: puts " module #{mod.full_name}#{nodoc mod}" end |