# encoding: UTF-8 class Boxafe::Scheduler def self.platform_scheduler options = {} case RbConfig::CONFIG['host_os'] when /darwin/i Boxafe::Scheduler::Launchd.new options else Boxafe::Scheduler::Cron.new options end end def initialize options = {} @options = options end end Dir[File.join File.dirname(__FILE__), File.basename(__FILE__, '.*'), '*.rb'].each{ |lib| require lib }