Class: CloudMade::Line
Instance Attribute Summary collapse
-
#points ⇒ Object
Returns the value of attribute points.
Instance Method Summary collapse
-
#initialize(coords) ⇒ Line
constructor
A new instance of Line.
- #to_s ⇒ Object
Methods inherited from Geometry
Constructor Details
Instance Attribute Details
#points ⇒ Object
Returns the value of attribute points.
65 66 67 |
# File 'lib/geometry.rb', line 65 def points @points end |
Instance Method Details
#to_s ⇒ Object
71 72 73 |
# File 'lib/geometry.rb', line 71 def to_s "Line(#{@points.join(',')})" end |