Class: Myreplicator::Configuration

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

Overview

Configuration class for avoiding load the yml file everytime and cleaner config settings

Constant Summary collapse

@@tmp_path =
yml["myreplicator"]["tmp_path"]
@@mysql =
yml["myreplicator"]["mysql"]
@@mysqldump =
yml["myreplicator"]["mysqldump"]

Instance Attribute Summary collapse

Instance Attribute Details

#mysqlObject

Returns the value of attribute mysql.



8
9
10
# File 'lib/configuration.rb', line 8

def mysql
  @mysql
end

#mysqldumpObject

Returns the value of attribute mysqldump.



8
9
10
# File 'lib/configuration.rb', line 8

def mysqldump
  @mysqldump
end

#tmp_pathObject

Returns the value of attribute tmp_path.



8
9
10
# File 'lib/configuration.rb', line 8

def tmp_path
  @tmp_path
end