Exception: RGeoServer::ShapefileInfo::ShapefileInfoGeometryNotExpected
- Inherits:
-
StandardError
- Object
- StandardError
- RGeoServer::ShapefileInfo::ShapefileInfoGeometryNotExpected
- Defined in:
- lib/rgeoserver/utils/shapefile_info.rb
Instance Method Summary collapse
-
#initialize(geometry_type) ⇒ ShapefileInfoGeometryNotExpected
constructor
A new instance of ShapefileInfoGeometryNotExpected.
- #message ⇒ Object
Constructor Details
#initialize(geometry_type) ⇒ ShapefileInfoGeometryNotExpected
Returns a new instance of ShapefileInfoGeometryNotExpected.
8 9 10 |
# File 'lib/rgeoserver/utils/shapefile_info.rb', line 8 def initialize geometry_type @geometry_type = geometry_type end |
Instance Method Details
#message ⇒ Object
12 13 14 |
# File 'lib/rgeoserver/utils/shapefile_info.rb', line 12 def "The geometry type %s was not expected." % geometry_type end |