Sha256: cc37b65a73e188a7b7f52a26a4e99f22fb6212ba7c94b5237fcf65ebfce85d92
Contents?: true
Size: 461 Bytes
Versions: 3
Compression:
Stored size: 461 Bytes
Contents
require "daily_weekly_monthly/creator" require "daily_weekly_monthly/cleaner" module DailyWeeklyMonthly class Processor def initialize backup, backups_dir, output_extension @backup = backup @creator = Creator.new backup, backups_dir, output_extension @cleaner = Cleaner.new backups_dir, output_extension end def call period, options @creator.call period @cleaner.call period, options.fetch(:keep) end end end
Version data entries
3 entries across 3 versions & 1 rubygems