module TraceTree::TreeHtmlable

Constants

DEFAULT_JS

Public Instance Methods

body_js_for_tree_html() click to toggle source
# File lib/trace_tree/tree_htmlable.rb, line 24
def body_js_for_tree_html
  DEFAULT_JS
end
children_for_tree_html() click to toggle source
# File lib/trace_tree/tree_htmlable.rb, line 28
def children_for_tree_html
  callees
end
css_for_tree_html() click to toggle source
# File lib/trace_tree/tree_htmlable.rb, line 32
def css_for_tree_html
  '.highlight{color: #a50000;}'
end
data_for_tree_html() click to toggle source
# File lib/trace_tree/tree_htmlable.rb, line 20
def data_for_tree_html
  {}
end
label_for_tree_html() click to toggle source
# File lib/trace_tree/tree_htmlable.rb, line 15
def label_for_tree_html
  "<span class='highlight'>#{CGI::escapeHTML class_and_method}</span> "\
    "#{CGI::escapeHTML source_location}"
end