Class: BipartiteGraph::Edge
- Inherits:
-
Struct
- Object
- Struct
- BipartiteGraph::Edge
- Defined in:
- lib/bipartite_graph/edge.rb
Instance Attribute Summary collapse
-
#from ⇒ Object
Returns the value of attribute from.
-
#to ⇒ Object
Returns the value of attribute to.
-
#weight ⇒ Object
Returns the value of attribute weight.
Instance Attribute Details
#from ⇒ Object
Returns the value of attribute from
2 3 4 |
# File 'lib/bipartite_graph/edge.rb', line 2 def from @from end |
#to ⇒ Object
Returns the value of attribute to
2 3 4 |
# File 'lib/bipartite_graph/edge.rb', line 2 def to @to end |
#weight ⇒ Object
Returns the value of attribute weight
2 3 4 |
# File 'lib/bipartite_graph/edge.rb', line 2 def weight @weight end |