1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

fix markup for multi word inline code in README

This commit is contained in:
Konstantin Haase 2010-09-03 08:00:27 +02:00
parent fa527095a2
commit 626f68904b

View file

@ -129,9 +129,9 @@ also accepted.
You can return any object that would either be a valid Rack response, Rack body object You can return any object that would either be a valid Rack response, Rack body object
or HTTP status code: or HTTP status code:
* An Array with three elements: +[status (Fixnum), headers (Hash), response body (responds to #each)]+ * An Array with three elements: <tt>[status (Fixnum), headers (Hash), response body (responds to #each)]</tt>
* An Array with two elements: +[status (Fixnum), response body (responds to #each)]+ * An Array with two elements: <tt>[status (Fixnum), response body (responds to #each)]</tt>
* An object that responds to #each and passes nothing but strings to the given block * An object that responds to +#each+ and passes nothing but strings to the given block
* A Fixnum representing the status code * A Fixnum representing the status code
That way we can for instance easily implement a streaming example: That way we can for instance easily implement a streaming example: