Sha256: d5296cfa217e31f2f8b0a69b558382eb7db9ed52fd5eca938f4e6c7a949950d6
Contents?: true
Size: 421 Bytes
Versions: 4
Compression:
Stored size: 421 Bytes
Contents
require 'tree_graph' class TraceTree module TreeGraphable include TreeGraph def parent_for_tree_graph parent end def is_last_for_tree_graph return true unless parent parent.callees.index(self) == (parent.callees.count - 1) end def label_for_tree_graph "#{class_and_method} #{source_location}" end def children_for_tree_graph callees end end end
Version data entries
4 entries across 4 versions & 1 rubygems