class HtmlCom::Tree

Public Class Methods

new(s, debug: false, hn: 2) click to toggle source
# File lib/htmlcom.rb, line 245
def initialize(s, debug: false, hn: 2)
  jtb = JsTreeBuilder.new(:sidebar, {src: s, hn: hn, debug: debug})
  @html = jtb.to_webpage      
end

Public Instance Methods

to_webpage() click to toggle source
# File lib/htmlcom.rb, line 250
def to_webpage()
  @html
end