Class: RubyProxy::Config
- Inherits:
-
Object
- Object
- RubyProxy::Config
- Defined in:
- lib/ruby_proxy/config.rb
Class Method Summary collapse
- .autostart ⇒ Object
- .autostart=(bool) ⇒ Object
- .command ⇒ Object
- .command=(command) ⇒ Object
- .ip ⇒ Object
- .ip=(ip) ⇒ Object
- .port ⇒ Object
- .port=(port) ⇒ Object
Class Method Details
.autostart ⇒ Object
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 |
.command ⇒ Object
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 |
.ip ⇒ Object
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 |
.port ⇒ Object
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 |