class GeoRuby::Shp4r::Dbf::Field

Allow field (column) creation with defaults for decimal, version, and encoding

Public Class Methods

new(name, type, length, decimal = 0, version = 1, enc = nil) click to toggle source
Calls superclass method
# 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