module Recursivar::Formats::Html
Public Instance Methods
children_for_tree_html()
click to toggle source
# File lib/recursivar/formats.rb, line 60 def children_for_tree_html vars end
css_for_tree_html()
click to toggle source
# File lib/recursivar/formats.rb, line 64 def css_for_tree_html '.highlight{color: #a50000;}' end
label_for_tree_html()
click to toggle source
# File lib/recursivar/formats.rb, line 54 def label_for_tree_html label = "<span class='highlight'>#{name}</span> #{klass}" return label unless ref "#{label} <span class='highlight'>#{CGI::escapeHTML ref.location_str}</span>" end
to_s()
click to toggle source
# File lib/recursivar/formats.rb, line 68 def to_s tree_html_full end