Method: RGeo::ImplHelper::BasicMultiLineStringMethods#length
- Defined in:
- lib/rgeo/impl_helper/basic_geometry_collection_methods.rb
#length ⇒ Object
97 98 99 |
# File 'lib/rgeo/impl_helper/basic_geometry_collection_methods.rb', line 97 def length @elements.inject(0.0) { |sum, obj| sum + obj.length } end |