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_options ⇒ Object
- #watch_thread ⇒ Object
Methods included from Execution
Constructor Details
#initialize(sync_name, options) ⇒ Dummy
Returns a new instance of Dummy.
14 15 16 17 18 |
# File 'lib/docker-sync/watch_strategy/dummy.rb', line 14 def initialize(sync_name, ) @options = @sync_name = sync_name @watch_thread = nil end |
Instance Method Details
#clean ⇒ Object
27 28 |
# File 'lib/docker-sync/watch_strategy/dummy.rb', line 27 def clean end |
#run ⇒ Object
20 21 22 |
# File 'lib/docker-sync/watch_strategy/dummy.rb', line 20 def run say_status 'success', 'Watcher disabled by configuration' if @options['verbose'] end |
#stop ⇒ Object
24 25 |
# File 'lib/docker-sync/watch_strategy/dummy.rb', line 24 def stop end |
#watch ⇒ Object
30 31 |
# File 'lib/docker-sync/watch_strategy/dummy.rb', line 30 def watch end |
#watch_options ⇒ Object
33 34 |
# File 'lib/docker-sync/watch_strategy/dummy.rb', line 33 def end |
#watch_thread ⇒ Object
36 37 38 |
# File 'lib/docker-sync/watch_strategy/dummy.rb', line 36 def watch_thread return @watch_thread end |