Class: Mud::Server

Inherits:
Sinatra::Base
  • Object
show all
Defined in:
lib/mud/server.rb

Class Method Summary collapse

Class Method Details

.context=(context) ⇒ Object



14
15
16
# File 'lib/mud/server.rb', line 14

def context=(context)
  @@context = context
end

.port=(port) ⇒ Object



10
11
12
# File 'lib/mud/server.rb', line 10

def port=(port)
  set :port, port
end