class Juli::Visitor::Html::Helper::Contents::ContentsDrawer

Public Instance Methods

visit_array(n) click to toggle source
# File lib/juli/visitor/html/helper/contents.rb, line 32
def visit_array(n)
  n.array.inject(''){|result, child|
    result += child.accept(self)
  }
end
visit_chapter(n) click to toggle source
# File lib/juli/visitor/html/helper/contents.rb, line 38
def visit_chapter(n)
  content_tag(:li) do
    content_tag(:a, :href=>'#' + header_id(n)) do
      n.str
    end +
    content_tag(:ol) do
      n.blocks.accept(self)
    end
  end
end
visit_compact_dictionary_list(n) click to toggle source
# File lib/juli/visitor/html/helper/contents.rb, line 27
def visit_compact_dictionary_list(n); ''; end
visit_compact_dictionary_list_item(n) click to toggle source
# File lib/juli/visitor/html/helper/contents.rb, line 28
def visit_compact_dictionary_list_item(n); ''; end
visit_dictionary_list(n) click to toggle source
# File lib/juli/visitor/html/helper/contents.rb, line 29
def visit_dictionary_list(n); ''; end
visit_dictionary_list_item(n) click to toggle source
# File lib/juli/visitor/html/helper/contents.rb, line 30
def visit_dictionary_list_item(n); ''; end
visit_node(n) click to toggle source
# File lib/juli/visitor/html/helper/contents.rb, line 22
def visit_node(n); ''; end
visit_ordered_list(n) click to toggle source
# File lib/juli/visitor/html/helper/contents.rb, line 25
def visit_ordered_list(n); ''; end
visit_str(n) click to toggle source
# File lib/juli/visitor/html/helper/contents.rb, line 23
def visit_str(n); ''; end
visit_unordered_list(n) click to toggle source
# File lib/juli/visitor/html/helper/contents.rb, line 26
def visit_unordered_list(n); ''; end
visit_verbatim(n) click to toggle source
# File lib/juli/visitor/html/helper/contents.rb, line 24
def visit_verbatim(n); ''; end