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
#level, #members, #name, #parent, #result
Instance Method Summary
collapse
Methods inherited from Entity
#accept, #executeable?
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.
2
3
4
|
# File 'lib/multisync/definition/null.rb', line 2
def initialize
@level = -1
end
|
Instance Method Details
#check_destination? ⇒ Boolean
47
48
49
|
# File 'lib/multisync/definition/null.rb', line 47
def check_destination?
false
end
|
#check_source? ⇒ Boolean
43
44
45
|
# File 'lib/multisync/definition/null.rb', line 43
def check_source?
false
end
|
#checks ⇒ Object
39
40
41
|
# File 'lib/multisync/definition/null.rb', line 39
def checks
[]
end
|
#default? ⇒ Boolean
35
36
37
|
# File 'lib/multisync/definition/null.rb', line 35
def default?
false
end
|
#destination ⇒ Object
to (destination) is a required option and should be set at least at root level
27
28
29
|
# File 'lib/multisync/definition/null.rb', line 27
def destination
raise "no destination (to) defined"
end
|
#destination_description ⇒ Object
31
32
33
|
# File 'lib/multisync/definition/null.rb', line 31
def destination_description
""
end
|
#fullname ⇒ Object
9
10
11
|
# File 'lib/multisync/definition/null.rb', line 9
def fullname
""
end
|
#register(member) ⇒ Object
6
7
|
# File 'lib/multisync/definition/null.rb', line 6
def register member
end
|
#rsync_options ⇒ Object
13
14
15
|
# File 'lib/multisync/definition/null.rb', line 13
def rsync_options
[]
end
|
#source ⇒ Object
from (source) is a required option and should be set at least at root level
18
19
20
|
# File 'lib/multisync/definition/null.rb', line 18
def source
raise "no source (from) defined"
end
|
#source_description ⇒ Object
22
23
24
|
# File 'lib/multisync/definition/null.rb', line 22
def source_description
""
end
|