In Files

  • rdoc/dot.rb

Files

Class/Module Index [+]

Quicksearch

RDoc::DOT::Port

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.rb, line 123
def initialize( params = {} )
  super( params )
  @name = params['label'] ? params['label'] : ''
end
            

Public Instance Methods

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