Sha256: cbb20d3e521afcf8fa5908fcd6787c90174f6ae5459fd7019a234c0219e15d73

Contents?: true

Size: 420 Bytes

Versions: 6

Compression:

Stored size: 420 Bytes

Contents

# 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 }

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
boxafe-0.1.5 lib/boxafe/scheduler.rb
boxafe-0.1.4 lib/boxafe/scheduler.rb
boxafe-0.1.3 lib/boxafe/scheduler.rb
boxafe-0.1.2 lib/boxafe/scheduler.rb
boxafe-0.1.1 lib/boxafe/scheduler.rb
boxafe-0.1.0 lib/boxafe/scheduler.rb