Class: LSync::Method

Inherits:
Object
  • Object
show all
Includes:
EventHandler
Defined in:
lib/lsync/method.rb

Overview

A backup method provides the interface to copy data from one system to another.

Direct Known Subclasses

LSync::Methods::RSync

Instance Method Summary collapse

Methods included from EventHandler

#abort!, #fire, #on, #try

Constructor Details

#initialize(options = {}) ⇒ Method

Returns a new instance of Method.



32
33
# File 'lib/lsync/method.rb', line 32

def initialize(options = {})
end

Instance Method Details

#run(controller) ⇒ Object



35
36
# File 'lib/lsync/method.rb', line 35

def run(controller)
end

#should_run?(controller) ⇒ Boolean

Returns:

  • (Boolean)


38
39
# File 'lib/lsync/method.rb', line 38

def should_run?(controller)
end