Class: Nonnative::ConfigurationProxy
- Inherits:
-
Object
- Object
- Nonnative::ConfigurationProxy
- Defined in:
- lib/nonnative/configuration_proxy.rb
Instance Attribute Summary collapse
-
#host ⇒ Object
Returns the value of attribute host.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#log ⇒ Object
Returns the value of attribute log.
-
#options ⇒ Object
Returns the value of attribute options.
-
#port ⇒ Object
Returns the value of attribute port.
Instance Method Summary collapse
-
#initialize ⇒ ConfigurationProxy
constructor
A new instance of ConfigurationProxy.
Constructor Details
#initialize ⇒ ConfigurationProxy
Returns a new instance of ConfigurationProxy.
7 8 9 10 11 12 |
# File 'lib/nonnative/configuration_proxy.rb', line 7 def initialize self.kind = 'none' self.host = '0.0.0.0' self.port = 0 self. = {} end |
Instance Attribute Details
#host ⇒ Object
Returns the value of attribute host.
5 6 7 |
# File 'lib/nonnative/configuration_proxy.rb', line 5 def host @host end |
#kind ⇒ Object
Returns the value of attribute kind.
5 6 7 |
# File 'lib/nonnative/configuration_proxy.rb', line 5 def kind @kind end |
#log ⇒ Object
Returns the value of attribute log.
5 6 7 |
# File 'lib/nonnative/configuration_proxy.rb', line 5 def log @log end |
#options ⇒ Object
Returns the value of attribute options.
5 6 7 |
# File 'lib/nonnative/configuration_proxy.rb', line 5 def @options end |
#port ⇒ Object
Returns the value of attribute port.
5 6 7 |
# File 'lib/nonnative/configuration_proxy.rb', line 5 def port @port end |