Class: RBelly::Visitors::DotVisitor::Arrow
- Inherits:
-
Struct
- Object
- Struct
- RBelly::Visitors::DotVisitor::Arrow
- Defined in:
- lib/rbelly/visitors/dot_visitor.rb
Instance Attribute Summary collapse
-
#from ⇒ Object
Returns the value of attribute from.
-
#label ⇒ Object
Returns the value of attribute label.
-
#to ⇒ Object
Returns the value of attribute to.
Instance Method Summary collapse
Instance Attribute Details
#from ⇒ Object
Returns the value of attribute from
17 18 19 |
# File 'lib/rbelly/visitors/dot_visitor.rb', line 17 def from @from end |
#label ⇒ Object
Returns the value of attribute label
17 18 19 |
# File 'lib/rbelly/visitors/dot_visitor.rb', line 17 def label @label end |
#to ⇒ Object
Returns the value of attribute to
17 18 19 |
# File 'lib/rbelly/visitors/dot_visitor.rb', line 17 def to @to end |
Instance Method Details
#to_s ⇒ Object
18 19 20 |
# File 'lib/rbelly/visitors/dot_visitor.rb', line 18 def to_s "\"#{from.node_id}\":f0 -> \"#{to.node_id}\":f0" end |