Class: Hanuman::Graphvizzer::Edge

Inherits:
Item
  • Object
show all
Defined in:
lib/hanuman/graphvizzer/gv_models.rb

Instance Method Summary collapse

Methods inherited from Item

#attrib, #brace, #close_brace, #depth, #indent, #line, #quote

Instance Method Details

#to_sObject



154
155
156
157
# File 'lib/hanuman/graphvizzer/gv_models.rb', line 154

def to_s
  width = COL_1_WIDTH - indent.length
  "#{indent}%-#{width}s\t-> %-s;" % [ from, into ] ## "cherry_pie.crust.small_bowl" -> "cherry_pie.crust.add_to_4";
end