Sha256: f3f9a8a43c2527beb2c59710d1031eb2085a73d3efdeff8802cedcd16050c2eb
Contents?: true
Size: 442 Bytes
Versions: 2
Compression:
Stored size: 442 Bytes
Contents
require 'sinatra' require 'haml' require 'modules/router' module RedisMonitor class Server < Sinatra::Base include RedisMonitor::Router include RedisMonitor::Helpers::LayoutsHelper set :public_folder, File.dirname(__FILE__) + '/../static' set :views, File.dirname(__FILE__) + '/../views' def self.config(arguments) set :server, arguments[:http_server] set :port, arguments[:http_port] end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
redis_monitor-0.0.5 | lib/server/server.rb |
redis_monitor-0.0.4 | lib/server/server.rb |