class LSync::CopyController

Attributes

current[R]

The current server controller (the controller for the local machine).

master[R]

The master server controller (where the data is being copied from).

target[R]

The target server controller (where the data is being copied to).

Public Class Methods

new(script, logger, master, target, current) click to toggle source
Calls superclass method LSync::BasicController::new
# File lib/lsync/controller.rb, line 179
def initialize(script, logger, master, target, current)
        super(script, logger)
        
        @master = ServerController.new(script, logger, master)
        @target = ServerController.new(script, logger, target)
        @current = ServerController.new(script, logger, current)
end