Class: RDoc::Stats::Verbose

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

Overview

Stats printer that prints everything documented, including the documented status

Instance Method Summary collapse

Instance Method Details

#nodoc(co) ⇒ Object

Returns a marker for RDoc::CodeObject co being undocumented



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

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

:nodoc:



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

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

:nodoc:



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

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

:nodoc:



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

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

:nodoc:



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

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

:nodoc:



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

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

:nodoc:



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

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

:nodoc:



42
43
44
# File 'lib/rdoc/stats/verbose.rb', line 42

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