Class RDoc::Markup::ToTest
In: markup/to_test.rb
Parent: RDoc::Markup::Formatter

This Markup outputter is used for testing purposes.

Methods

Public Instance methods

[Source]

    # File markup/to_test.rb, line 37
37:   def accept_blank_line(am, fragment)
38:     @res << fragment.to_s
39:   end

[Source]

    # File markup/to_test.rb, line 41
41:   def accept_heading(am, fragment)
42:     @res << fragment.to_s
43:   end

[Source]

    # File markup/to_test.rb, line 29
29:   def accept_list_end(am, fragment)
30:     @res << fragment.to_s
31:   end

[Source]

    # File markup/to_test.rb, line 33
33:   def accept_list_item(am, fragment)
34:     @res << fragment.to_s
35:   end

[Source]

    # File markup/to_test.rb, line 25
25:   def accept_list_start(am, fragment)
26:     @res << fragment.to_s
27:   end

[Source]

    # File markup/to_test.rb, line 17
17:   def accept_paragraph(am, fragment)
18:     @res << fragment.to_s
19:   end

[Source]

    # File markup/to_test.rb, line 45
45:   def accept_rule(am, fragment)
46:     @res << fragment.to_s
47:   end

[Source]

    # File markup/to_test.rb, line 21
21:   def accept_verbatim(am, fragment)
22:     @res << fragment.to_s
23:   end

[Source]

    # File markup/to_test.rb, line 13
13:   def end_accepting
14:     @res
15:   end

[Source]

    # File markup/to_test.rb, line 9
 9:   def start_accepting
10:     @res = []
11:   end

[Validate]