Slide 4
Slide 4 text
Rackに準拠したアプリケーションの規約
To use Rack, provide an "app": an object that responds to the `call` method, taking the environment hash
as a parameter, and returning an Array with three elements:
- The HTTP response code
- A Hash of headers
- The response body, which must respond to each
ref: http://rack.github.io/
・1つのHashオブジェクトを引数に取る `call` というメソッドが実装されていること
・`call` メソッドは、「ステータスコード, ヘッダーを表現したHash, eachに反応するオブ
ジェクト」の3つの要素を持つ配列を返すこと