rackのソースをゆっくり読んでる。読んだのは、周辺の lint.rb. アプリケーション呼び出しの、事前(引数 env)チェック、事後(app実行結果のstatus, headers, body)チェックしてる。if文を並べる変わりに、assert(”条件の説明”) { }の記述で、 宣言的に事前/…
Quote saved.
Login to quote this blog
Failed to save quote. Please try again later.
You cannot quote because this article is private.