Add missing class keyword to docs (#264)

This commit is contained in:
Sijawusz Pur Rahnama 2016-11-26 10:07:32 +01:00 committed by Serdar Dogruyol
parent 92ea55773b
commit 13293a675d
2 changed files with 5 additions and 5 deletions

View file

@ -27,7 +27,7 @@ class Kemal::Handler < HTTP::Handler
#
# However this is not done automatically. All handlers must inherit from `Kemal::Handler`.
#
# OnlyHandler < Kemal::Handler
# class OnlyHandler < Kemal::Handler
# only ["/"]
#
# def call(env)
@ -46,7 +46,7 @@ class Kemal::Handler < HTTP::Handler
#
# However this is not done automatically. All handlers must inherit from `Kemal::Handler`.
#
# ExcludeHandler < Kemal::Handler
# class ExcludeHandler < Kemal::Handler
# exclude ["/"]
#
# def call(env)