Class: Spectate::Server
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- Spectate::Server
- Defined in:
- lib/spectate/server.rb
Instance Method Summary collapse
-
#initialize ⇒ Server
constructor
A new instance of Server.
Constructor Details
#initialize ⇒ Server
Returns a new instance of Server.
9 10 11 12 13 14 15 |
# File 'lib/spectate/server.rb', line 9 def initialize Spectate::Config.load_configuration Rufus::Tokyo::Cabinet.open(File.join(Spectate::Config.basedir, 'spectate.tcb'), :opts => 'b') do |db| nil end super end |