Class: YeSQL::Config::Configuration
- Inherits:
-
Object
- Object
- YeSQL::Config::Configuration
- Defined in:
- lib/yesql/config/configuration.rb
Constant Summary collapse
- DEFAULT_PATH =
"app/yesql"
Instance Attribute Summary collapse
-
#connection ⇒ Object
Returns the value of attribute connection.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
10 11 12 13 |
# File 'lib/yesql/config/configuration.rb', line 10 def initialize @connection = "" @path = DEFAULT_PATH end |
Instance Attribute Details
#connection ⇒ Object
Returns the value of attribute connection.
6 7 8 |
# File 'lib/yesql/config/configuration.rb', line 6 def connection @connection end |
#path ⇒ Object
Returns the value of attribute path.
6 7 8 |
# File 'lib/yesql/config/configuration.rb', line 6 def path @path end |