This Markup outputter is used for testing purposes.
# File lib/rdoc/markup/to_test.rb, line 51
51: def accept_blank_line(blank_line)
52: @res << "\n"
53: end
# File lib/rdoc/markup/to_test.rb, line 55
55: def accept_heading(heading)
56: @res << "#{'=' * heading.level} #{heading.text}"
57: end
# File lib/rdoc/markup/to_test.rb, line 40
40: def accept_list_end(list)
41: @list.pop
42: end
# File lib/rdoc/markup/to_test.rb, line 48
48: def accept_list_item_end(list_item)
49: end
# File lib/rdoc/markup/to_test.rb, line 44
44: def accept_list_item_start(list_item)
45: @res << "#{' ' * (@list.size - 1)}#{@list.last}: "
46: end
# File lib/rdoc/markup/to_test.rb, line 29
29: def accept_list_start(list)
30: @list << case list.type
31: when :BULLET then
32: '*'
33: when :NUMBER then
34: '1'
35: else
36: list.type
37: end
38: end
# File lib/rdoc/markup/to_test.rb, line 21
21: def accept_paragraph(paragraph)
22: @res << paragraph.text
23: end
# File lib/rdoc/markup/to_test.rb, line 59
59: def accept_rule(rule)
60: @res << '-' * rule.weight
61: end
# File lib/rdoc/markup/to_test.rb, line 25
25: def accept_verbatim(verbatim)
26: @res << verbatim.text
27: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.