Class: GraphViz::Types::ArrowType
- Inherits:
-
Common
show all
- Defined in:
- lib/graphviz/types/arrow_type.rb
Instance Method Summary
collapse
Methods inherited from Common
#initialize, #source
Instance Method Details
#check(data) ⇒ Object
16
17
18
|
# File 'lib/graphviz/types/arrow_type.rb', line 16
def check(data)
return data
end
|
#output ⇒ Object
Also known as:
to_gv, to_s
20
21
22
|
# File 'lib/graphviz/types/arrow_type.rb', line 20
def output
return @data.to_s.inspect.gsub( "\\\\", "\\" )
end
|
27
28
29
|
# File 'lib/graphviz/types/arrow_type.rb', line 27
def to_ruby
@data
end
|