class Opal::CliRunners::Server::App
def call(env)
def call(env) case env['PATH_INFO'] when '/' [200, { 'Content-Type' => 'text/html' }, [BODY]] when '/cli_runner.js' [200, { 'Content-Type' => 'text/javascript' }, [@source]] else [404, {}, ['not found']] end end
def initialize(source)
def initialize(source) @source = source end