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.
15 16 17 18 19 |
# File 'lib/docker-sync/watch_strategy/dummy.rb', line 15 def initialize(sync_name, ) @options = @sync_name = sync_name @watch_thread = nil end |
Instance Method Details
#clean ⇒ Object
28 29 |
# File 'lib/docker-sync/watch_strategy/dummy.rb', line 28 def clean end |
#run ⇒ Object
21 22 23 |
# File 'lib/docker-sync/watch_strategy/dummy.rb', line 21 def run say_status 'success', 'Watcher disabled by configuration' if @options['verbose'] end |
#stop ⇒ Object
25 26 |
# File 'lib/docker-sync/watch_strategy/dummy.rb', line 25 def stop end |
#watch ⇒ Object
31 32 |
# File 'lib/docker-sync/watch_strategy/dummy.rb', line 31 def watch end |
#watch_options ⇒ Object
34 35 |
# File 'lib/docker-sync/watch_strategy/dummy.rb', line 34 def end |
#watch_thread ⇒ Object
37 38 39 |
# File 'lib/docker-sync/watch_strategy/dummy.rb', line 37 def watch_thread return @watch_thread end |