Class RDoc::DOT::Port
In: dot.rb
doc-tmp/rdoc/dot.rb
Parent: SimpleElement

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

Methods

new   new   to_s   to_s  

Public Class methods

[Source]

     # File dot.rb, line 123
123:     def initialize( params = {} )
124:       super( params )
125:       @name = params['label'] ? params['label'] : ''
126:     end

[Source]

     # File doc-tmp/rdoc/dot.rb, line 123
123:     def initialize( params = {} )
124:       super( params )
125:       @name = params['label'] ? params['label'] : ''
126:     end

Public Instance methods

[Source]

     # File dot.rb, line 127
127:     def to_s
128:       ( @name && @name != "" ? "<#{@name}>" : "" ) + "#{@label}"
129:     end

[Source]

     # File doc-tmp/rdoc/dot.rb, line 127
127:     def to_s
128:       ( @name && @name != "" ? "<#{@name}>" : "" ) + "#{@label}"
129:     end

[Validate]