Module: TransocksEM

Defined in:
lib/transocks_em.rb,
lib/transocks_em/command.rb,
lib/transocks_em/version.rb,
lib/transocks_em/ipfw_tweaker.rb

Defined Under Namespace

Classes: Command, IPFWTweaker, TransocksClient, TransocksTCPServer

Constant Summary collapse

OPSYS =
`uname -s`.chomp
VERSION =
'0.0.1'

Class Method Summary collapse

Class Method Details

.configObject



11
12
13
14
15
16
# File 'lib/transocks_em.rb', line 11

def self.config
  unless defined?(@@config)
    @@config = {}
  end
  @@config
end

.debug?Boolean

Returns:

  • (Boolean)


18
19
20
# File 'lib/transocks_em.rb', line 18

def self.debug?
  false|config[:debug] 
end