Class: GeoRuby::Shp4r::Dbf::Field
- Inherits:
-
Column
- Object
- Column
- GeoRuby::Shp4r::Dbf::Field
- Defined in:
- lib/geo_ruby/shp4r/dbf.rb
Overview
Allow field (column) creation with defaults for decimal, version, and encoding
Defined Under Namespace
Classes: FauxTable
Instance Method Summary collapse
-
#initialize(name, type, length, decimal = 0, version = 1, enc = nil) ⇒ Field
constructor
A new instance of Field.
Constructor Details
#initialize(name, type, length, decimal = 0, version = 1, enc = nil) ⇒ Field
Returns a new instance of Field.
40 41 42 43 |
# File 'lib/geo_ruby/shp4r/dbf.rb', line 40 def initialize(name, type, length, decimal = 0, version = 1, enc = nil) table = FauxTable.new(version, enc) super(table, name, type, length, decimal) end |