Class: GraphViz::Types::Common
- Inherits:
-
Object
- Object
- GraphViz::Types::Common
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
#output ⇒ Object
8
9
10
|
# File 'lib/graphviz/types.rb', line 8
def output
return @data
end
|
#source ⇒ Object
12
13
14
|
# File 'lib/graphviz/types.rb', line 12
def source
return @data
end
|