Sha256: 5e9be06adc6d160241b8425b5aa22fb327567acd27e2ad5dc21eb8f4508e5791
Contents?: true
Size: 377 Bytes
Versions: 10
Compression:
Stored size: 377 Bytes
Contents
require 'tree_html' require 'cgi' class TraceTree module TreeHtmlable include TreeHtml def label_for_tree_html "<span class='highlight'>#{CGI::escapeHTML class_and_method}</span> #{CGI::escapeHTML source_location}" end def children_for_tree_html callees end def css_for_tree_html '.highlight{color: #a50000;}' end end end
Version data entries
10 entries across 10 versions & 1 rubygems