Class: TheRunner::Server
- Inherits:
-
Object
- Object
- TheRunner::Server
- Defined in:
- lib/the_runner/server.rb,
lib/the_runner/server/config.rb
Defined Under Namespace
Classes: Config
Instance Attribute Summary collapse
-
#hostname ⇒ Object
readonly
Returns the value of attribute hostname.
Instance Method Summary collapse
-
#initialize(hostname) ⇒ Server
constructor
A new instance of Server.
Constructor Details
#initialize(hostname) ⇒ Server
Returns a new instance of Server.
4 5 6 |
# File 'lib/the_runner/server.rb', line 4 def initialize(hostname) @hostname = hostname end |
Instance Attribute Details
#hostname ⇒ Object (readonly)
Returns the value of attribute hostname.
3 4 5 |
# File 'lib/the_runner/server.rb', line 3 def hostname @hostname end |