From c0e95f701164b4501d67b6077f439a40a3ce1dd0 Mon Sep 17 00:00:00 2001 From: Konstantin Haase Date: Fri, 18 Feb 2011 11:10:43 +0100 Subject: [PATCH] fix readme example indentation --- README.rdoc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.rdoc b/README.rdoc index 7ecb99d4..cd16d521 100644 --- a/README.rdoc +++ b/README.rdoc @@ -770,13 +770,13 @@ set the body at an arbritary point in the execution flow. You can do so with the `body` helper method. If you do so, you can use that method from there on to access the body: - get '/foo' do - body "bar" - end - - after do - puts body - end + get '/foo' do + body "bar" + end + + after do + puts body + end It is also possible to pass a block to body, that will be executed by the rack handler (this can be used to implement streaming, see