module TraceTree::Color
Public Instance Methods
label_for_tree_graph()
click to toggle source
# File lib/trace_tree/color.rb, line 3 def label_for_tree_graph "#{highlight class_and_method} #{source_location}" end
Private Instance Methods
highlight(str)
click to toggle source
# File lib/trace_tree/color.rb, line 9 def highlight str "\e[1m\e[32m#{str}\e[0m" end