Class: Myreplicator::Configuration
- Inherits:
-
Object
- Object
- Myreplicator::Configuration
- 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
-
#mysql ⇒ Object
Returns the value of attribute mysql.
-
#mysqldump ⇒ Object
Returns the value of attribute mysqldump.
-
#tmp_path ⇒ Object
Returns the value of attribute tmp_path.
Instance Attribute Details
#mysql ⇒ Object
Returns the value of attribute mysql.
8 9 10 |
# File 'lib/configuration.rb', line 8 def mysql @mysql end |
#mysqldump ⇒ Object
Returns the value of attribute mysqldump.
8 9 10 |
# File 'lib/configuration.rb', line 8 def mysqldump @mysqldump end |
#tmp_path ⇒ Object
Returns the value of attribute tmp_path.
8 9 10 |
# File 'lib/configuration.rb', line 8 def tmp_path @tmp_path end |