Lines Matching refs:to
17 # @to = RDoc::Markup::ToNewTextFormat.new
21 # assert_equal :junk, @to.res.join
31 # Adds test cases to the calling TestCase.
37 # Test case that calls <tt>@to.accept_heading</tt>
40 @to.start_accepting
41 @to.indent = 3
42 @to.accept_heading @RM::Heading.new(1, 'Hello')
48 # Test case that calls <tt>@to.accept_rule</tt>
51 @to.start_accepting
52 @to.indent = 3
53 @to.accept_rule @RM::Rule.new(1)
59 # Test case that calls <tt>@to.accept_verbatim</tt>
62 @to.start_accepting
63 @to.indent = 2
64 @to.accept_verbatim @RM::Verbatim.new("hi\n", " world\n")
70 # Test case that calls <tt>@to.accept_verbatim</tt> with a big indent
73 @to.start_accepting
74 @to.indent = 2
75 @to.accept_verbatim @RM::Verbatim.new("hi\n", "world\n")
81 # Test case that calls <tt>@to.accept_paragraph</tt> with an indent
84 @to.start_accepting
85 @to.indent = 3
86 @to.accept_paragraph @RM::Paragraph.new(('words ' * 30).strip)
92 # Test case that calls <tt>@to.accept_paragraph</tt> with a long line
95 @to.start_accepting
96 @to.accept_paragraph @RM::Paragraph.new(('words ' * 30).strip)
102 # Test case that calls <tt>@to.attributes</tt> with an escaped
107 assert_equal 'Dog', @to.attributes("\\Dog")