From 542c4890fbdcb40d149c7147c2ee028606e2392d Mon Sep 17 00:00:00 2001 From: Konstantin Haase Date: Sun, 5 Jun 2011 09:58:05 +0200 Subject: [PATCH] whitespace --- lib/sinatra/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sinatra/base.rb b/lib/sinatra/base.rb index 541b8777ff..f8b0088d2a 100644 --- a/lib/sinatra/base.rb +++ b/lib/sinatra/base.rb @@ -1189,7 +1189,7 @@ def compile(path) # Makes the methods defined in the block and in the Modules given # in `extensions` available to the handlers and templates def helpers(*extensions, &block) - class_eval(&block) if block_given? + class_eval(&block) if block_given? include(*extensions) if extensions.any? end