Class: ShapeLib::Shape
- Inherits:
-
Object
- Object
- ShapeLib::Shape
- Defined in:
- lib/shape_lib/shape.rb
Instance Method Summary collapse
Instance Method Details
#each ⇒ Object
3 4 5 6 7 |
# File 'lib/shape_lib/shape.rb', line 3 def each latlngs.each do |l| yield l end end |
#latlngs ⇒ Object
9 10 11 |
# File 'lib/shape_lib/shape.rb', line 9 def latlngs @latlngs ||= yvals.zip(xvals) end |