require 'sinatra/base' class <%= app_class -%> < Sinatra::Base get '/' do 'Hello <%= app_class -%>!' end # start the server if ruby file executed directly run! if app_file == $0 end