Class: Spectate::Server

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

Instance Method Summary collapse

Constructor Details

#initializeServer

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