Class: GraphLink
- Defined in:
- lib/rpdf2txt-rockit/directed_graph.rb,
lib/rpdf2txt-rockit/directed_graph.rb
Instance Attribute Summary collapse
-
#from ⇒ Object
Returns the value of attribute from.
-
#info ⇒ Object
Returns the value of attribute info.
-
#to ⇒ Object
Returns the value of attribute to.
Instance Method Summary collapse
Instance Attribute Details
#from ⇒ Object
Returns the value of attribute from
16 17 18 |
# File 'lib/rpdf2txt-rockit/directed_graph.rb', line 16 def from @from end |
#info ⇒ Object
Returns the value of attribute info
16 17 18 |
# File 'lib/rpdf2txt-rockit/directed_graph.rb', line 16 def info @info end |
#to ⇒ Object
Returns the value of attribute to
16 17 18 |
# File 'lib/rpdf2txt-rockit/directed_graph.rb', line 16 def to @to end |
Instance Method Details
#inspect ⇒ Object
18 19 20 21 |
# File 'lib/rpdf2txt-rockit/directed_graph.rb', line 18 def inspect info_str = info ? info.inspect + "-" : "" "#{from.inspect}-#{info_str}>#{to.inspect}" end |