Class: LocalPac::ProxyPac::Result

Inherits:
Object
  • Object
show all
Defined in:
lib/local_pac/proxy_pac/result.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeResult

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

#contentObject

Returns the value of attribute content.



11
12
13
# File 'lib/local_pac/proxy_pac/result.rb', line 11

def content
  @content
end

#styled_contentObject

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

Returns:

  • (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