Method: Shapefile#attribute_names

Defined in:
lib/shapefile.rb

#attribute_namesObject



57
58
59
60
61
62
63
# File 'lib/shapefile.rb', line 57

def attribute_names
  if @dbf
    @dbf.columns.collect {|c| c.name.downcase}
  else
    nil
  end
end