Class: Multisync::Definition::Null
- Inherits:
-
Entity
- Object
- Entity
- Multisync::Definition::Null
show all
- Defined in:
- lib/multisync/definition/null.rb
Instance Attribute Summary
Attributes inherited from Entity
#members, #name, #parent, #result
Instance Method Summary
collapse
Methods inherited from Entity
#accept, #to_h
Methods included from Dsl
#check_from, #check_to, #default, #from, #group, #include, #only_if, #options, #sync, #template, #to
Constructor Details
#initialize ⇒ Null
Returns a new instance of Null.
4
5
|
# File 'lib/multisync/definition/null.rb', line 4
def initialize
end
|
Instance Method Details
#check_destination? ⇒ Boolean
48
49
50
|
# File 'lib/multisync/definition/null.rb', line 48
def check_destination?
false
end
|
#check_source? ⇒ Boolean
44
45
46
|
# File 'lib/multisync/definition/null.rb', line 44
def check_source?
false
end
|
#checks ⇒ Object
40
41
42
|
# File 'lib/multisync/definition/null.rb', line 40
def checks
[]
end
|
#default? ⇒ Boolean
36
37
38
|
# File 'lib/multisync/definition/null.rb', line 36
def default?
false
end
|
#destination ⇒ Object
to (destination) is a required option and should be set at least at root level
28
29
30
|
# File 'lib/multisync/definition/null.rb', line 28
def destination
raise "no destination (to) defined"
end
|
#destination_description ⇒ Object
32
33
34
|
# File 'lib/multisync/definition/null.rb', line 32
def destination_description
''
end
|
#fullname ⇒ Object
10
11
12
|
# File 'lib/multisync/definition/null.rb', line 10
def fullname
nil
end
|
#register(member) ⇒ Object
7
8
|
# File 'lib/multisync/definition/null.rb', line 7
def register member
end
|
#rsync_options ⇒ Object
14
15
16
|
# File 'lib/multisync/definition/null.rb', line 14
def rsync_options
[]
end
|
#source ⇒ Object
from (source) is a required option and should be set at least at root level
19
20
21
|
# File 'lib/multisync/definition/null.rb', line 19
def source
raise "no source (from) defined"
end
|
#source_description ⇒ Object
23
24
25
|
# File 'lib/multisync/definition/null.rb', line 23
def source_description
''
end
|