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
10 11 12 |
# File 'lib/rdoc/stats/verbose.rb', line 10 def nodoc co " (undocumented)" unless co.documented? end |
#print_alias(as) ⇒ Object
: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 |
#print_attribute(attribute) ⇒ Object
: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 |
#print_class(klass) ⇒ Object
: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 |
#print_constant(constant) ⇒ Object
:nodoc:
26 27 28 |
# File 'lib/rdoc/stats/verbose.rb', line 26 def print_constant(constant) # :nodoc: puts " #{constant.name}#{nodoc constant}" end |
#print_file(files_so_far, file) ⇒ Object
:nodoc:
30 31 32 33 |
# File 'lib/rdoc/stats/verbose.rb', line 30 def print_file(files_so_far, file) # :nodoc: super puts end |
#print_method(method) ⇒ Object
: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 |
#print_module(mod) ⇒ Object
: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 |