Class: Nonnative::ConfigurationRunner
- Inherits:
-
Object
- Object
- Nonnative::ConfigurationRunner
- Defined in:
- lib/nonnative/configuration_runner.rb
Direct Known Subclasses
ConfigurationProcess, ConfigurationServer, ConfigurationService
Instance Attribute Summary collapse
-
#host ⇒ Object
Returns the value of attribute host.
-
#name ⇒ Object
Returns the value of attribute name.
-
#port ⇒ Object
Returns the value of attribute port.
-
#proxy ⇒ Object
Returns the value of attribute proxy.
-
#wait ⇒ Object
Returns the value of attribute wait.
Instance Method Summary collapse
-
#initialize ⇒ ConfigurationRunner
constructor
A new instance of ConfigurationRunner.
Constructor Details
#initialize ⇒ ConfigurationRunner
Returns a new instance of ConfigurationRunner.
8 9 10 11 12 13 14 |
# File 'lib/nonnative/configuration_runner.rb', line 8 def initialize self.host = '0.0.0.0' self.port = 0 self.wait = 0.1 @proxy = Nonnative::ConfigurationProxy.new end |
Instance Attribute Details
#host ⇒ Object
Returns the value of attribute host.
5 6 7 |
# File 'lib/nonnative/configuration_runner.rb', line 5 def host @host end |
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/nonnative/configuration_runner.rb', line 5 def name @name end |
#port ⇒ Object
Returns the value of attribute port.
5 6 7 |
# File 'lib/nonnative/configuration_runner.rb', line 5 def port @port end |
#proxy ⇒ Object
Returns the value of attribute proxy.
6 7 8 |
# File 'lib/nonnative/configuration_runner.rb', line 6 def proxy @proxy end |
#wait ⇒ Object
Returns the value of attribute wait.
5 6 7 |
# File 'lib/nonnative/configuration_runner.rb', line 5 def wait @wait end |