Sha256: 6151b3597ecd64d1e2a0ed101aa82e24edc7f84f1651c64581a01a17a0c31ce2

Contents?: true

Size: 572 Bytes

Versions: 1

Compression:

Stored size: 572 Bytes

Contents

# frozen_string_literal: true

require 'socket'
require 'timeout'

require 'cucumber'

require 'nonnative/version'
require 'nonnative/error'
require 'nonnative/configuration'
require 'nonnative/cucumber'
require 'nonnative/process'

module Nonnative
  class << self
    def configuration
      @configuration ||= Nonnative::Configuration.new
    end

    def configure
      yield configuration if block_given?
    end

    def start
      @process ||= Nonnative::Process.new(configuration)
      @process.start
    end

    def stop
      @process.stop
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nonnative-0.2.0 lib/nonnative.rb