7th
Mon
script/consoleからドキュメントを読む方法
helpコマンドを使うと、script/con
から非常に簡単に
ドキュメントを参照することができます。
使い方は以下の通り。
1 >> help CGI 2 -------------------- ---------- ---------- ---------- ---------- - Class: CGI 3 Wrapper around the CGIMethods that have been secluded to allow 4 testing without an instantiat ed CGI object 5 6 ---------- ---------- ---------- ---------- ---------- ---------- ---------- -- 7 TODO: document how this differs from stdlib CGI::Cooki e 8 9 ---------- ---------- ---------- ---------- ---------- ---------- ---------- -- 10 TODO: document how this differs from stdlib CGI::Cooki e 11 12 ---------- ---------- ---------- ---------- ---------- ---------- ---------- -- 13 Wrapper around the CGIMethods that have been secluded to allow 14 testing without an instantiat ed CGI object 15 16 ---------- ---------- ---------- ---------- ---------- ---------- ---------- -- 17 TODO: document how this differs from stdlib CGI::Cooki e 18 19 ---------- ---------- ---------- ---------- ---------- ---------- ---------- -- 20 (END)
引数としてクラスや文字列を渡すと、ri
と同じようにドキュメントを
照会することができます。ちょっと便利ですね。
posted by
genki
on Mon 7 Jan 2008
at 05:57