Module: Recursivar::Formats::Text
- Includes:
- TreeGraph
- Defined in:
- lib/recursivar/formats.rb
Instance Method Summary collapse
Instance Method Details
#children_for_tree_graph ⇒ Object
36 37 38 |
# File 'lib/recursivar/formats.rb', line 36 def children_for_tree_graph vars end |
#label_for_tree_graph ⇒ Object
30 31 32 33 34 |
# File 'lib/recursivar/formats.rb', line 30 def label_for_tree_graph label = "#{colorize name} (#{klass})" return label unless ref "#{label} #{colorize ref.location_str}" end |
#to_s ⇒ Object
40 41 42 |
# File 'lib/recursivar/formats.rb', line 40 def to_s tree_graph end |