Class: ProxyPacRb::BasicConfiguration::Option
- Inherits:
-
Object
- Object
- ProxyPacRb::BasicConfiguration::Option
- Defined in:
- lib/proxy_pac_rb/basic_configuration.rb
Overview
A configuration option
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(name:, value:) ⇒ Option
constructor
A new instance of Option.
Constructor Details
#initialize(name:, value:) ⇒ Option
11 12 13 14 |
# File 'lib/proxy_pac_rb/basic_configuration.rb', line 11 def initialize(name:, value:) @name = name @value = value end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
9 10 11 |
# File 'lib/proxy_pac_rb/basic_configuration.rb', line 9 def name @name end |
#value ⇒ Object
Returns the value of attribute value.
9 10 11 |
# File 'lib/proxy_pac_rb/basic_configuration.rb', line 9 def value @value end |