module USGeo

Constants

BASE_DATA_URI
VERSION

Public Class Methods

base_data_uri() click to toggle source

The root URI as a string of where to find the data files. This can be a URL or a file system path. The default is to load the data from files hosted with the project code on GitHub.

# File lib/us_geo.rb, line 40
def base_data_uri
  if defined?(@base_data_uri) && @base_data_uri
    @base_data_uri
  else
    BASE_DATA_URI
  end
end
base_data_uri=(value) click to toggle source
# File lib/us_geo.rb, line 48
def base_data_uri=(value)
  @base_data_uri = (value.nil? ? nil : value.to_s)
end