Class: GraphViz::Types::Common

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

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ Common

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

#outputObject



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

def output
  return @data
end

#sourceObject



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

def source
  return @data
end