require "tree_html/version" module TreeHtml def tree_html "" end def tree_html_full "#{tree_html}" end Css = File.expand_path('../tree_html/tree_html.css', __FILE__) def css File.read(Css) end protected def li "
  • #{checkbox}#{label_for_tree_html}#{sub_ul}
  • " end def checkbox children_for_tree_html.empty? ? "" : "" end def sub_ul children_for_tree_html.empty? ? '' : "" end def css_for_tree_html '' end end