Extended maintenance of Ruby versions 1.8.7 and 1.9.2 ended on July 31, 2014. Read more

In Files

  • rdoc/dot/dot.rb

Parent

Methods

Files

Class/Module Index [+]

Quicksearch

DOT::DOTSimpleElement

a root class for any element in dot notation

Attributes

name[RW]

Public Class Methods

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

Public Instance Methods

to_s() click to toggle source
 
               # File rdoc/dot/dot.rb, line 87
def to_s
    @name
end