Class: TheRunner::Server

Inherits:
Object
  • Object
show all
Defined in:
lib/the_runner/server.rb,
lib/the_runner/server/config.rb

Defined Under Namespace

Classes: Config

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#hostnameObject (readonly)

Returns the value of attribute hostname.



3
4
5
# File 'lib/the_runner/server.rb', line 3

def hostname
  @hostname
end