module Csv2Psql::Config
Configuration module
Constants
- BASE_DIR
- CONFIG_PATH
Public Class Methods
config(path = CONFIG_PATH)
click to toggle source
# File lib/csv2psql/config/config.rb, line 14 def config(path = CONFIG_PATH) @config ||= load_config(path) @config end
load_config(path = CONFIG_PATH)
click to toggle source
# File lib/csv2psql/config/config.rb, line 19 def load_config(path = CONFIG_PATH) JsonHelper.load_file(path) end