From 9bd71b89df57c87db0c553108fabca4ea7b38239 Mon Sep 17 00:00:00 2001 From: burningTyger Date: Thu, 1 Sep 2011 23:54:30 +0200 Subject: [PATCH] consistent colon in Readme --- README.rdoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rdoc b/README.rdoc index 2d7da48a..7538bb01 100644 --- a/README.rdoc +++ b/README.rdoc @@ -848,7 +848,7 @@ support streaming, the body will be sent all at once after the block passed to If the optional parameter is set to +keep_open+, it will not call +close+ on the stream object, allowing you to close it at any later point in the execution flow. This only works on evented servers, like Thin and Rainbows. -Other servers will still close the stream. +Other servers will still close the stream: set :server, :thin connections = [] @@ -1123,7 +1123,7 @@ You can also pass it a file name: Sinatra offers a +time_for+ helper method, which, from the given value generates a Time object. It is also able to convert +DateTime+, +Date+ and -similar classes. +similar classes: get '/' do pass if Time.now > time_for('Dec 23, 2012') @@ -1132,7 +1132,7 @@ similar classes. This method is used internally by +expires+, +last_modified+ and akin. You can therefore easily extend the behavior of those methods by overriding +time_for+ -in your application. +in your application: helpers do def time_for(value)