Sha256: 10590d6e85483117d2caf3ca5d7d514ceb627ce96f959777c7a22c256360db16

Contents?: true

Size: 663 Bytes

Versions: 6

Compression:

Stored size: 663 Bytes

Contents

require 'thor/shell'
require 'docker-sync/execution'

module Docker_Sync
  module WatchStrategy
    class Dummy
      include Thor::Shell
      include Execution

      @options
      @sync_name
      @watch_thread

      def initialize(sync_name, options)
        @options = options
        @sync_name = sync_name
        @watch_thread = nil
      end

      def run
        say_status 'success', 'Watcher disabled by configuration' if @options['verbose']
      end

      def stop
      end

      def clean
      end

      def watch
      end

      def watch_options
      end

      def watch_thread
        return @watch_thread
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
docker-sync-0.3.5 lib/docker-sync/watch_strategy/dummy.rb
docker-sync-0.3.4 lib/docker-sync/watch_strategy/dummy.rb
docker-sync-0.3.3 lib/docker-sync/watch_strategy/dummy.rb
docker-sync-0.3.2 lib/docker-sync/watch_strategy/dummy.rb
docker-sync-0.3.1 lib/docker-sync/watch_strategy/dummy.rb
docker-sync-0.3.0 lib/docker-sync/watch_strategy/dummy.rb