Class: Syskit::Graphviz::DummyPage

Inherits:
Object
  • Object
show all
Defined in:
lib/syskit/graphviz.rb

Instance Method Summary collapse

Instance Method Details



67
68
69
70
71
72
73
# File 'lib/syskit/graphviz.rb', line 67

def link_to(obj, text = nil)
    if text then text
    else
        obj.name.gsub("<", "&lt;").
            gsub(">", "&gt;")
    end
end