<NME> flat.ru.rbt
<BEF> <%= shebang "rackup", ["-s", "thin", "-p", 4000] %>
# encoding: utf-8

# rackup -p 4000 -s thin flat.ru
require "rango/stacks/mini"
require "rango/router/adapters/basic"

Rango.boot
  # TODO
end

Rango::CallableStrategy.register

Rango::Router.register do
  match("/").to do |request|
    "<h1>Rango is just Awesome!</h1>"
  end
end

run Rango.app

<MSG> Updated for new router.

<DFF> @@ -9,12 +9,11 @@ Project.configure do
   # TODO
 end
 
-Rango::CallableStrategy.register
+# router
+Rango.import("router/adapters/basic")
 
-Rango::Router.register do
-  match("/").to do |request|
-    "<h1>Rango is just Awesome!</h1>"
-  end
+map("/") do
+  run app { "<h1>Rango is just Awesome!</h1>" }
 end
 
 run Rango.app

Updated for new router.