Class: GraphViz::Types::Common

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

Direct Known Subclasses

ArrowType, Color, ColorList, EscString, GvBool, GvDouble, HtmlString, LblString, Rect, SplineType

Instance Method Summary (collapse)

Constructor Details

- (Common) initialize(data)

Returns a new instance of Common



4
5
6
# File 'lib/graphviz/types.rb', line 4

def initialize( data )
  @data = check(data)
end

Instance Method Details

- (Object) output



8
9
10
# File 'lib/graphviz/types.rb', line 8

def output
  return @data
end

- (Object) source



12
13
14
# File 'lib/graphviz/types.rb', line 12

def source
  return @data
end