Sha256: 046bebcb496cbf1b1fc7d75f900691e3fca5ba291075892bad5fd87768686fc5
Contents?: true
Size: 663 Bytes
Versions: 5
Compression:
Stored size: 663 Bytes
Contents
require_relative 'entangler/version' require_relative 'entangler/errors' require_relative 'entangler/entangled_file' module Entangler class << self attr_accessor :executor def run(base_dir, opts = {}) opts = { mode: 'master', remote_mode: true }.merge(opts) require 'entangler/executor/base' if opts[:mode] == 'master' require 'entangler/executor/master' self.executor = Entangler::Executor::Master.new(base_dir, opts) elsif opts[:mode] == 'slave' require 'entangler/executor/slave' self.executor = Entangler::Executor::Slave.new(base_dir, opts) end executor.run end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
entangler-1.0.2 | lib/entangler.rb |
entangler-1.0.1 | lib/entangler.rb |
entangler-1.0.0 | lib/entangler.rb |
entangler-1.0.0.beta4 | lib/entangler.rb |
entangler-1.0.0.beta3 | lib/entangler.rb |