Class: Hashira::Analysis::Edge
- Inherits:
-
Data
- Object
- Data
- Hashira::Analysis::Edge
- Defined in:
- lib/hashira/analysis/edge.rb
Instance Attribute Summary collapse
-
#from ⇒ Object
readonly
Returns the value of attribute from.
-
#to ⇒ Object
readonly
Returns the value of attribute to.
Instance Method Summary collapse
Instance Attribute Details
#from ⇒ Object (readonly)
Returns the value of attribute from
5 6 7 |
# File 'lib/hashira/analysis/edge.rb', line 5 def from @from end |
#to ⇒ Object (readonly)
Returns the value of attribute to
5 6 7 |
# File 'lib/hashira/analysis/edge.rb', line 5 def to @to end |
Instance Method Details
#to_s ⇒ Object
6 |
# File 'lib/hashira/analysis/edge.rb', line 6 def to_s = "#{from} -> #{to}" |