251 252 253 254
# File 'lib/georuby-ext/rgeo/geos/ffi_feature_methods.rb', line 251 def to_linear_ring linear_ring_points = points.first == points.last ? points : points.push(points.first) factory.linear_ring linear_ring_points end