Sha256: e9b9e87a1d37dbd043690465aeef652604cf318035190d6329414b6035bfdabb

Contents?: true

Size: 400 Bytes

Versions: 6

Compression:

Stored size: 400 Bytes

Contents

# frozen_string_literal: true

module Nonnative
  class Runner
    attr_reader :proxy

    def initialize(service)
      @service = service
      @proxy = Nonnative::ProxyFactory.create(service)
    end

    def name
      service.name
    end

    protected

    attr_reader :service

    def wait_start
      sleep service.wait
    end

    def wait_stop
      sleep service.wait
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
nonnative-1.83.0 lib/nonnative/runner.rb
nonnative-1.82.0 lib/nonnative/runner.rb
nonnative-1.81.0 lib/nonnative/runner.rb
nonnative-1.80.0 lib/nonnative/runner.rb
nonnative-1.79.0 lib/nonnative/runner.rb
nonnative-1.78.0 lib/nonnative/runner.rb