Method: Dply::AppConfig#load_config

Defined in:
lib/dply/app_config.rb

#load_configObject



59
60
61
62
63
64
65
66
67
68
# File 'lib/dply/app_config.rb', line 59

def load_config
  return if @config_read
  bundler_setup
  check_config_exists
  read_config "drakefile.rb", optional: true
  Dir["dply/*.rb"].each do |i|
    read_config i
  end
  @config_read = true
end