Object
If given, database_id will be appended to the dump_filename. This is required if multiple Databases of the same class are added to the model.
# File lib/backup/database/base.rb, line 16 def initialize(model, database_id = nil) @model = model @database_id = database_id.to_s.gsub(/\W/, '_') if database_id @dump_path = File.join(Config.tmp_path, model.trigger, 'databases') load_defaults! end
Generated with the Darkfish Rdoc Generator 2.