Here’s the client side of the visitor pattern
# File rdoc/markup/simple_markup/to_html.rb, line 57 def start_accepting @res = "" @in_list_entry = [] end
<code/>
<pre/>
<code/>and<pre/>for code samples.