Class: ActiveRecord::InvalidGeometryType
- Inherits:
-
ActiveRecordError
- Object
- ActiveRecordError
- ActiveRecord::InvalidGeometryType
- Defined in:
- lib/active_record/postgresql_extensions/geometry.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(type) ⇒ InvalidGeometryType
constructor
A new instance of InvalidGeometryType.
Constructor Details
#initialize(type) ⇒ InvalidGeometryType
Returns a new instance of InvalidGeometryType.
7 8 9 |
# File 'lib/active_record/postgresql_extensions/geometry.rb', line 7 def initialize(type) super("Invalid PostGIS geometry type - #{type}") end |