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.


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

def initialize(options = {})
end

Instance Method Details

#run(controller) ⇒ Object


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

def run(controller)
end

#should_run?(controller) ⇒ Boolean

Returns:

  • (Boolean)

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

def should_run?(controller)
end