Class: Docker_Sync::WatchStrategy::Dummy
- Inherits:
-
Object
- Object
- Docker_Sync::WatchStrategy::Dummy
- Includes:
- Execution, Thor::Shell
- Defined in:
- lib/docker-sync/watch_strategy/dummy.rb
Instance Method Summary collapse
- #clean ⇒ Object
-
#initialize(sync_name, options) ⇒ Dummy
constructor
A new instance of Dummy.
- #run ⇒ Object
- #stop ⇒ Object
- #watch ⇒ Object
- #watch_fork ⇒ Object
- #watch_options ⇒ Object
- #watch_thread ⇒ Object
Methods included from Execution
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 = @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 end |
#watch_thread ⇒ Object
42 43 44 |
# File 'lib/docker-sync/watch_strategy/dummy.rb', line 42 def watch_thread return @watch_thread end |