1 <html><body>
2
3 <h1 id="label-Hello+Segments-21">Hello Segments!<span><a href="#label-Hello+Segments-21">¶</a> <a href="#top">↑</a></span></h1>
4
5 <p>This one has stuff defined out of order in a silly way so we can demonstrate segments.</p>
6
7 <p>Right now we're in the start segment. The <<hello>> thingy will request that we “include” the hello segment defined after:</p>
8
9 <pre><<Hello>>
10 puts "World!"</pre>
11
12 <h2 id="label-Hello">Hello<span><a href="#label-Hello">¶</a> <a href="#top">↑</a></span></h2>
13
14 <p>This segment will actually run first because it's included at the beginning of the unnamed start segment above.</p>
15
16 <pre class="ruby"><span class="ruby-identifier">puts</span> <span class="ruby-string">"Hello..."</span>
17 </pre>
18
19 <p>This example is obviously nonsense. But it should demonstrate the principle nicely.</p>
20 </body></html>