Module: Zebra

Defined in:
lib/zebra.rb,
lib/zebra/queue.rb,
lib/zebra/config.rb,
lib/zebra/version.rb,
lib/zebra/command_line.rb,
lib/zebra/proxy_server.rb,
lib/zebra/proxy_worker.rb

Defined Under Namespace

Classes: CommandLine, Config, MissingArgumentException, ProxyServer, ProxyWorker, ProxyWorkerReceiveMessageHandler, Queue, ResourceNotFoundException, UnsupportedArgumentException, UnsupportedURISchemeException

Constant Summary collapse

VERSION =
'1.0.1'
@@config =
Config.instance
@@log =
Logger.new(STDERR)

Class Method Summary collapse

Class Method Details

.configObject



16
17
18
# File 'lib/zebra.rb', line 16

def self.config
  @@config
end

.config=(config) ⇒ Object



12
13
14
# File 'lib/zebra.rb', line 12

def self.config=(config)
  @@config=config
end

.logObject



24
25
26
# File 'lib/zebra.rb', line 24

def self.log
  @@log
end

.log=(log) ⇒ Object



20
21
22
# File 'lib/zebra.rb', line 20

def self.log=(log)
  @@log=log
end