Class: RDocF95::Markup::ToTest
Overview
This Markup outputter is used for testing purposes.
Instance Method Summary
collapse
Methods inherited from Formatter
#convert, #initialize
Instance Method Details
#accept_blank_line(am, fragment) ⇒ Object
37
38
39
|
# File 'lib/rdoc-f95/markup/to_test.rb', line 37
def accept_blank_line(am, fragment)
@res << fragment.to_s
end
|
#accept_heading(am, fragment) ⇒ Object
41
42
43
|
# File 'lib/rdoc-f95/markup/to_test.rb', line 41
def accept_heading(am, fragment)
@res << fragment.to_s
end
|
#accept_list_end(am, fragment) ⇒ Object
29
30
31
|
# File 'lib/rdoc-f95/markup/to_test.rb', line 29
def accept_list_end(am, fragment)
@res << fragment.to_s
end
|
#accept_list_item(am, fragment) ⇒ Object
33
34
35
|
# File 'lib/rdoc-f95/markup/to_test.rb', line 33
def accept_list_item(am, fragment)
@res << fragment.to_s
end
|
#accept_list_start(am, fragment) ⇒ Object
25
26
27
|
# File 'lib/rdoc-f95/markup/to_test.rb', line 25
def accept_list_start(am, fragment)
@res << fragment.to_s
end
|
#accept_paragraph(am, fragment) ⇒ Object
17
18
19
|
# File 'lib/rdoc-f95/markup/to_test.rb', line 17
def accept_paragraph(am, fragment)
@res << fragment.to_s
end
|
#accept_rule(am, fragment) ⇒ Object
45
46
47
|
# File 'lib/rdoc-f95/markup/to_test.rb', line 45
def accept_rule(am, fragment)
@res << fragment.to_s
end
|
#accept_verbatim(am, fragment) ⇒ Object
21
22
23
|
# File 'lib/rdoc-f95/markup/to_test.rb', line 21
def accept_verbatim(am, fragment)
@res << fragment.to_s
end
|
#end_accepting ⇒ Object
13
14
15
|
# File 'lib/rdoc-f95/markup/to_test.rb', line 13
def end_accepting
@res
end
|
#start_accepting ⇒ Object
9
10
11
|
# File 'lib/rdoc-f95/markup/to_test.rb', line 9
def start_accepting
@res = []
end
|