Class: Sankey::Vertex
- Inherits:
-
Object
- Object
- Sankey::Vertex
- Defined in:
- lib/vertex.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#points ⇒ Object
readonly
Returns the value of attribute points.
Instance Method Summary collapse
-
#initialize ⇒ Vertex
constructor
A new instance of Vertex.
Constructor Details
#initialize ⇒ Vertex
Returns a new instance of Vertex.
5 6 7 |
# File 'lib/vertex.rb', line 5 def initialize @points = [] end |
Instance Attribute Details
#points ⇒ Object (readonly)
Returns the value of attribute points.
3 4 5 |
# File 'lib/vertex.rb', line 3 def points @points end |