blob: 5c9eca42a817f92c41208a68f625aef741aa0fd9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
require 'sinatra/base'
require_relative '../ruby/ruby'
Dir.glob('*/*.rb', base: __dir__).grep(/^(.*)\/\1\.rb$/).each do |f|
require_relative f
end
$config = Config.first
class HTTPInterface < Sinatra::Base
use WebInterface
run! if app_file == $0
end
|