From e030256d706ddbfbb90d9eed61b2078bb5f9fc24 Mon Sep 17 00:00:00 2001 From: krororo Date: Mon, 26 Nov 2018 11:56:12 +0900 Subject: [PATCH] Fix missing def keyword at Sinatra::Namespace document --- sinatra-contrib/lib/sinatra/namespace.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sinatra-contrib/lib/sinatra/namespace.rb b/sinatra-contrib/lib/sinatra/namespace.rb index b3645b91..07b53f7f 100644 --- a/sinatra-contrib/lib/sinatra/namespace.rb +++ b/sinatra-contrib/lib/sinatra/namespace.rb @@ -146,7 +146,7 @@ module Sinatra # module Zomg # Keep everything under "Zomg" namespace for sanity # module Routes # Define a new "Routes" module # - # self.registered(app) + # def self.registered(app) # # First, register the Namespace extension # app.register Sinatra::Namespace #