Module: Arfy::ConfigFaker

Defined in:
lib/arfy/environment.rb

Instance Method Summary collapse

Instance Method Details

#database_configurationObject



148
149
150
151
# File 'lib/arfy/environment.rb', line 148

def database_configuration
  @configuration ||= YAML::load(ERB.new(IO.read(paths["config/database"])).result)
  @configuration
end

#pathsObject



144
145
146
# File 'lib/arfy/environment.rb', line 144

def paths
  Environment.new.configured_paths
end