Object
Creates a new instance of the MongoDB database object
Called using super(model) from subclasses *
# File lib/backup/database/base.rb, line 11 def initialize(model) @model = model load_defaults! end
Super method for all child (database) objects. Every database object's perform! method should call super before anything else to prepare
# File lib/backup/database/base.rb, line 19 def perform! prepare! log! end
Generated with the Darkfish Rdoc Generator 2.