Method: RDoc::Markup::ToTest#accept_list_start

Defined in:
lib/rdoc/markup/to_test.rb

#accept_list_start(list) ⇒ Object



33
34
35
36
37
38
39
40
41
42
# File 'lib/rdoc/markup/to_test.rb', line 33

def accept_list_start(list)
  @list << case list.type
           when :BULLET then
             '*'
           when :NUMBER then
             '1'
           else
             list.type
           end
end