Class: DockerSync::WatchStrategy::Dummy
- Inherits:
-
Object
- Object
- DockerSync::WatchStrategy::Dummy
show all
- Includes:
- Execution, Thor::Shell
- Defined in:
- lib/docker-sync/watch_strategy/dummy.rb
Instance Method Summary
collapse
Methods included from Execution
#fork_exec, #thread_exec, #with_time
Constructor Details
#initialize(sync_name, options) ⇒ Dummy
Returns a new instance of Dummy.
15
16
17
18
19
20
|
# File 'lib/docker-sync/watch_strategy/dummy.rb', line 15
def initialize(sync_name, options)
@options = options
@sync_name = sync_name
@watch_fork = nil
@watch_thread = nil
end
|
Instance Method Details
#clean ⇒ Object
29
30
|
# File 'lib/docker-sync/watch_strategy/dummy.rb', line 29
def clean
end
|
#run ⇒ Object
22
23
24
|
# File 'lib/docker-sync/watch_strategy/dummy.rb', line 22
def run
say_status 'success', 'Watcher disabled by configuration' if @options['verbose']
end
|
#stop ⇒ Object
26
27
|
# File 'lib/docker-sync/watch_strategy/dummy.rb', line 26
def stop
end
|
#watch ⇒ Object
32
33
|
# File 'lib/docker-sync/watch_strategy/dummy.rb', line 32
def watch
end
|
#watch_fork ⇒ Object
38
39
40
|
# File 'lib/docker-sync/watch_strategy/dummy.rb', line 38
def watch_fork
return @watch_fork
end
|
#watch_options ⇒ Object
35
36
|
# File 'lib/docker-sync/watch_strategy/dummy.rb', line 35
def watch_options
end
|
#watch_thread ⇒ Object
42
43
44
|
# File 'lib/docker-sync/watch_strategy/dummy.rb', line 42
def watch_thread
return @watch_thread
end
|