module Geoloader

Constants

VERSION

Public Class Methods

config() click to toggle source

Get the configuration object.

# File lib/geoloader.rb, line 38
def self.config
  @config
end
configure(opts) click to toggle source

Set configuration options.

@param [Hash] opts

# File lib/geoloader.rb, line 15
def self.configure(opts)
  @config.configure(opts)
end
configure_from_yaml(file_path) click to toggle source

Set configuration from a YAML file.

@param [String] file_path

# File lib/geoloader.rb, line 24
def self.configure_from_yaml(file_path)
  @config.configure(YAML::load(File.read(File.expand_path(file_path))))
end
gem_dir() click to toggle source

Get the root gem directory.

# File lib/geoloader.rb, line 31
def self.gem_dir
  File.expand_path("../../", __FILE__)
end