Sha256: 05ce0b6ea1a27e74391f0b364292448a101ab3d3ab45488d8ade9add9e1c9b40

Contents?: true

Size: 418 Bytes

Versions: 27

Compression:

Stored size: 418 Bytes

Contents

require 'artoo/drivers/driver'

module Artoo
  module Drivers
    # Test driver
    class Test < Driver
      def start_driver
        Logger.info "Test driver starting..."

        super
      end

      def command(method_name, *arguments)
        if method_name == "publish"
          super
        else
          Logger.info "Driver command '#{method_name}'"
          true
        end
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
artoo-1.8.2 lib/artoo/drivers/test.rb
artoo-1.8.1 lib/artoo/drivers/test.rb
artoo-1.8.0 lib/artoo/drivers/test.rb
artoo-1.6.7 lib/artoo/drivers/test.rb
artoo-1.6.6 lib/artoo/drivers/test.rb
artoo-1.6.5 lib/artoo/drivers/test.rb
artoo-1.6.4 lib/artoo/drivers/test.rb
artoo-1.6.3 lib/artoo/drivers/test.rb
artoo-1.6.2 lib/artoo/drivers/test.rb
artoo-1.6.1 lib/artoo/drivers/test.rb
artoo-1.6.0 lib/artoo/drivers/test.rb
artoo-1.5.0 lib/artoo/drivers/test.rb
artoo-1.4.1 lib/artoo/drivers/test.rb
artoo-1.4.0 lib/artoo/drivers/test.rb
artoo-1.3.0 lib/artoo/drivers/test.rb
artoo-1.2.2 lib/artoo/drivers/test.rb
artoo-1.2.1 lib/artoo/drivers/test.rb
artoo-1.2.0 lib/artoo/drivers/test.rb
artoo-1.1.1 lib/artoo/drivers/test.rb
artoo-1.1.0 lib/artoo/drivers/test.rb