forked from soveran/cuba
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Ill give this a shot but instead of using the cuba-app example Im going to use a much more simple example such as this
### hello.rb
require "cuba"
Cuba.define do
on get do
on "hello" do
res.write "Hello world!"
end
end
end
and a corresponding config.ru
# cat config.ru
require "./hello_world"
run Cuba
Metadata
Metadata
Assignees
Labels
No labels