Sha256: 02a6acc7b30b2ad4d4e5d394146cf61ff4b9a644c10659a5069497a7efd0376a
Contents?: true
Size: 458 Bytes
Versions: 6
Compression:
Stored size: 458 Bytes
Contents
module Backup module Configuration module Helpers # A helper method for the config/backup.rb configuration file # Expects a trigger in argument one (STRING) # Expects a block of settings def backup(trigger, &block) backup = Backup::Configuration::Base.new(trigger) backup.instance_eval &block @backup_procedures ||= Array.new @backup_procedures << backup end end end end
Version data entries
6 entries across 6 versions & 1 rubygems