Module: Explorer
- Defined in:
- lib/explorer.rb,
lib/explorer/cli.rb,
lib/explorer/proxy.rb,
lib/explorer/setup.rb,
lib/explorer/hostmap.rb,
lib/explorer/process.rb,
lib/explorer/servers.rb,
lib/explorer/version.rb,
lib/explorer/cli/proxy.rb,
lib/explorer/cli/setup.rb,
lib/explorer/ipc_client.rb,
lib/explorer/server/dns.rb,
lib/explorer/server/ipc.rb,
lib/explorer/cli/process.rb,
lib/explorer/log_watcher.rb,
lib/explorer/server/http.rb,
lib/explorer/server/https.rb,
lib/explorer/request_stream.rb,
lib/explorer/process_manager.rb
Defined Under Namespace
Modules: CLI, Server
Classes: Hostmap, IPCClient, LogWatcher, Process, ProcessManager, Proxy, RequestStream, Servers, Setup
Constant Summary
collapse
- DATADIR =
File.expand_path(File.join(File.dirname(__FILE__), '..', 'data'))
- CONFIGDIR =
File.join(Dir.home, '.explorer')
- VERSION =
"0.0.6"
Class Method Summary
collapse
Class Method Details
.hostmap ⇒ Object
21
22
23
|
# File 'lib/explorer.rb', line 21
def self.hostmap
@hostmap ||= Hostmap.new
end
|
.log_watcher ⇒ Object
29
30
31
|
# File 'lib/explorer.rb', line 29
def self.log_watcher
@log_watcher ||= LogWatcher.new
end
|
.process_manager ⇒ Object
25
26
27
|
# File 'lib/explorer.rb', line 25
def self.process_manager
@process_manager ||= ProcessManager.new
end
|
.terminate ⇒ Object
33
34
35
36
37
|
# File 'lib/explorer.rb', line 33
def self.terminate
@hostmap.terminate if @hostmap
@log_watcher.terminate if @log_watcher
@process_manager.terminate if @process_manager
end
|
.without_bundler ⇒ Object
39
40
41
42
43
44
45
46
47
|
# File 'lib/explorer.rb', line 39
def self.without_bundler
if defined?(Bundler)
Bundler.with_clean_env do
yield
end
else
yield
end
end
|