Ruby 1.9.3 リファレンスマニュアル > ライブラリ一覧 > rubygems/serverライブラリ > Gem::Serverクラス > yaml

instance method Gem::Server#yaml

yaml(request, response) -> ()

メソッド名に対応する URI に対するリクエストを処理するメソッドです。

[PARAM] request:
WEBrick::HTTPRequest オブジェクトが自動的に指定されます。
[PARAM] response:
WEBrick::HTTPResponse オブジェクトが自動的に指定されます。
class Gem::Server