Class: Rage::Configuration::Server
- Inherits:
-
Object
- Object
- Rage::Configuration::Server
- Defined in:
- lib/rage/configuration.rb
Instance Attribute Summary collapse
-
#max_clients ⇒ Object
Returns the value of attribute max_clients.
-
#port ⇒ Object
Returns the value of attribute port.
-
#threads_count ⇒ Object
readonly
Returns the value of attribute threads_count.
-
#timeout ⇒ Object
Returns the value of attribute timeout.
-
#workers_count ⇒ Object
Returns the value of attribute workers_count.
Instance Method Summary collapse
-
#initialize ⇒ Server
constructor
A new instance of Server.
Constructor Details
Instance Attribute Details
#max_clients ⇒ Object
Returns the value of attribute max_clients.
202 203 204 |
# File 'lib/rage/configuration.rb', line 202 def max_clients @max_clients end |
#port ⇒ Object
Returns the value of attribute port.
202 203 204 |
# File 'lib/rage/configuration.rb', line 202 def port @port end |
#threads_count ⇒ Object (readonly)
Returns the value of attribute threads_count.
203 204 205 |
# File 'lib/rage/configuration.rb', line 203 def threads_count @threads_count end |
#timeout ⇒ Object
Returns the value of attribute timeout.
202 203 204 |
# File 'lib/rage/configuration.rb', line 202 def timeout @timeout end |
#workers_count ⇒ Object
Returns the value of attribute workers_count.
202 203 204 |
# File 'lib/rage/configuration.rb', line 202 def workers_count @workers_count end |