Class: Dbmanager::Adapters::Mysql::Importer
- Inherits:
-
Object
- Object
- Dbmanager::Adapters::Mysql::Importer
- Includes:
- Connectable
- Defined in:
- lib/dbmanager/adapters/mysql.rb
Instance Attribute Summary collapse
-
#source ⇒ Object
readonly
Returns the value of attribute source.
-
#target ⇒ Object
readonly
Returns the value of attribute target.
-
#tmp_file ⇒ Object
readonly
Returns the value of attribute tmp_file.
Instance Method Summary collapse
-
#initialize(source, target, tmp_file) ⇒ Importer
constructor
A new instance of Importer.
- #remove_tmp_file ⇒ Object
- #run ⇒ Object
Methods included from Connectable
Constructor Details
#initialize(source, target, tmp_file) ⇒ Importer
Returns a new instance of Importer.
104 105 106 107 108 |
# File 'lib/dbmanager/adapters/mysql.rb', line 104 def initialize(source, target, tmp_file) @source = source @target = target @tmp_file = tmp_file end |
Instance Attribute Details
#source ⇒ Object (readonly)
Returns the value of attribute source.
102 103 104 |
# File 'lib/dbmanager/adapters/mysql.rb', line 102 def source @source end |
#target ⇒ Object (readonly)
Returns the value of attribute target.
102 103 104 |
# File 'lib/dbmanager/adapters/mysql.rb', line 102 def target @target end |
#tmp_file ⇒ Object (readonly)
Returns the value of attribute tmp_file.
102 103 104 |
# File 'lib/dbmanager/adapters/mysql.rb', line 102 def tmp_file @tmp_file end |