Sha256: 8a8c014466d50da784f8756f9df31cb1bb218141f0a5d83149ecb21d44545874

Contents?: true

Size: 477 Bytes

Versions: 3

Compression:

Stored size: 477 Bytes

Contents

require 'network_executive/version'
require 'network_executive/configuration'
require 'network_executive/engine'
require 'network_executive/station'

module NetworkExecutive

  ChannelNotFoundError = Class.new(StandardError)
  ProgramNotFoundError = Class.new(StandardError)
  ProgramNameError     = Class.new(StandardError)

  def config
    @config ||= Configuration.new
  end
  module_function :config

  def configure
    yield config
  end
  module_function :configure
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
network_executive-0.0.4 lib/network_executive.rb
network_executive-0.0.3 lib/network_executive.rb
network_executive-0.0.2 lib/network_executive.rb