Class: DbDumper::Configuration::Base
- Inherits:
-
Object
- Object
- DbDumper::Configuration::Base
- Defined in:
- lib/db_dumper/configuration/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#db_config ⇒ Object
readonly
Returns the value of attribute db_config.
Instance Method Summary collapse
- #copy_data_command(sql, file_path) ⇒ Object
- #dump_data_command(dump_data_file_path) ⇒ Object
- #dump_schema_command(dump_schema_file_path) ⇒ Object
-
#initialize(db_config) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(db_config) ⇒ Base
Returns a new instance of Base.
6 7 8 |
# File 'lib/db_dumper/configuration/base.rb', line 6 def initialize(db_config) @db_config = db_config end |
Instance Attribute Details
#db_config ⇒ Object (readonly)
Returns the value of attribute db_config.
4 5 6 |
# File 'lib/db_dumper/configuration/base.rb', line 4 def db_config @db_config end |
Instance Method Details
#copy_data_command(sql, file_path) ⇒ Object
10 11 12 |
# File 'lib/db_dumper/configuration/base.rb', line 10 def copy_data_command(sql, file_path) raise NotImplementedError end |
#dump_data_command(dump_data_file_path) ⇒ Object
18 19 20 |
# File 'lib/db_dumper/configuration/base.rb', line 18 def dump_data_command(dump_data_file_path) raise NotImplementedError end |
#dump_schema_command(dump_schema_file_path) ⇒ Object
14 15 16 |
# File 'lib/db_dumper/configuration/base.rb', line 14 def dump_schema_command(dump_schema_file_path) raise NotImplementedError end |