Change in readme to reflect the new class interface

This commit is contained in:
Yessiest 2024-05-07 19:09:01 +04:00
parent e1e2154677
commit 8c54fa3bc6
1 changed files with 2 additions and 4 deletions

View File

@ -139,12 +139,10 @@ end
class Application < Landline::App class Application < Landline::App
use TimerMiddleware use TimerMiddleware
setup do
get "/hello" do get "/hello" do
"Hello world!" "Hello world!"
end end
end end
end
run Application.new run Application.new
``` ```