Class: YeSQL::Config::Configuration

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

Constant Summary collapse

DEFAULT_PATH =
"app/yesql"

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

#connectionObject

Returns the value of attribute connection.



6
7
8
# File 'lib/yesql/config/configuration.rb', line 6

def connection
  @connection
end

#pathObject

Returns the value of attribute path.



6
7
8
# File 'lib/yesql/config/configuration.rb', line 6

def path
  @path
end