Class: Mysql2Model::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/mysql2_model/config.rb

Overview

Configuration Attributes

Class Attribute Summary collapse

Class Attribute Details

.repository_pathObject

TODO:

Identify a default repositories.yml inside the consuming projects’ root. How to identify config/repositories.yml when we don’t know what framework they are using?

Location of the YAML file to define the repositories



10
11
12
# File 'lib/mysql2_model/config.rb', line 10

def repository_path
  @repository_path ||= 'repositories.yml'
end