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.
187 188 189 |
# File 'lib/rage/configuration.rb', line 187 def max_clients @max_clients end |
#port ⇒ Object
Returns the value of attribute port.
187 188 189 |
# File 'lib/rage/configuration.rb', line 187 def port @port end |
#threads_count ⇒ Object (readonly)
Returns the value of attribute threads_count.
188 189 190 |
# File 'lib/rage/configuration.rb', line 188 def threads_count @threads_count end |
#timeout ⇒ Object
Returns the value of attribute timeout.
187 188 189 |
# File 'lib/rage/configuration.rb', line 187 def timeout @timeout end |
#workers_count ⇒ Object
Returns the value of attribute workers_count.
187 188 189 |
# File 'lib/rage/configuration.rb', line 187 def workers_count @workers_count end |