In Files

  • rdoc/dot/dot.rb

Files

Class/Module Index [+]

Quicksearch

DOT::DOTPort

this is used when we build nodes that have shape=record ports don’t have options :)

Attributes

label[RW]

Public Class Methods

new( params = {} ) click to toggle source
 
               # File rdoc/dot/dot.rb, line 128
def initialize( params = {} )
    super( params )
    @name = params['label'] ? params['label'] : ''
end
            

Public Instance Methods

to_s() click to toggle source
 
               # File rdoc/dot/dot.rb, line 132
def to_s
    ( @name && @name != "" ? "<#{@name}>" : "" ) + "#{@label}"
end