Class: RubyProxy::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby_proxy/config.rb

Class Method Summary collapse

Class Method Details

.autostartObject



34
35
36
# File 'lib/ruby_proxy/config.rb', line 34

def autostart
  @config[:autostart]
end

.autostart=(bool) ⇒ Object



37
38
39
# File 'lib/ruby_proxy/config.rb', line 37

def autostart=(bool)
  @config[:autostart] = bool
end

.commandObject



26
27
28
# File 'lib/ruby_proxy/config.rb', line 26

def command
	@config[:command]
end

.command=(command) ⇒ Object



30
31
32
# File 'lib/ruby_proxy/config.rb', line 30

def command=(command)
	@config[:command] = command
end

.ipObject



10
11
12
# File 'lib/ruby_proxy/config.rb', line 10

def ip
	@config[:ip]
end

.ip=(ip) ⇒ Object



14
15
16
# File 'lib/ruby_proxy/config.rb', line 14

def ip=(ip)
	@config[:ip] = ip
end

.portObject



22
23
24
# File 'lib/ruby_proxy/config.rb', line 22

def port
	@config[:port]
end

.port=(port) ⇒ Object



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

def port=(port)
	@config[:port] = port
end