Class: LocalPac::ProxyPac::Result
- Inherits:
-
Object
- Object
- LocalPac::ProxyPac::Result
- Defined in:
- lib/local_pac/proxy_pac/result.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
-
#styled_content ⇒ Object
Returns the value of attribute styled_content.
Instance Method Summary collapse
-
#initialize ⇒ Result
constructor
A new instance of Result.
- #nil? ⇒ Boolean
- #proxy=(val) ⇒ Object
- #proxy_port=(val) ⇒ Object
- #request_type=(val) ⇒ Object
Constructor Details
#initialize ⇒ Result
Returns a new instance of Result.
13 14 15 |
# File 'lib/local_pac/proxy_pac/result.rb', line 13 def initialize @is_nil = true end |
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content.
11 12 13 |
# File 'lib/local_pac/proxy_pac/result.rb', line 11 def content @content end |
#styled_content ⇒ Object
Returns the value of attribute styled_content.
11 12 13 |
# File 'lib/local_pac/proxy_pac/result.rb', line 11 def styled_content @styled_content end |
Instance Method Details
#nil? ⇒ Boolean
17 18 19 |
# File 'lib/local_pac/proxy_pac/result.rb', line 17 def nil? is_nil == nil end |
#proxy=(val) ⇒ Object
21 22 23 24 25 |
# File 'lib/local_pac/proxy_pac/result.rb', line 21 def proxy=(val) is_nil = false @proxy = val end |
#proxy_port=(val) ⇒ Object
27 28 29 30 31 |
# File 'lib/local_pac/proxy_pac/result.rb', line 27 def proxy_port=(val) is_nil = false @proxy_port = val end |
#request_type=(val) ⇒ Object
33 34 35 36 37 |
# File 'lib/local_pac/proxy_pac/result.rb', line 33 def request_type=(val) is_nil = false @request_type = val end |