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