24件ヒット
[1-24件を表示]
(0.172秒)
別のキーワード
検索結果
先頭2件
-
rdoc
/ parser / ruby (38006.0) -
Ruby のソースコードを解析するためのサブライブラリです。
...キュメントに含める事ができます。
##
# :attr_writer: ghost_writer
# There is an attribute here, but you can't see it!
##
# :method: ghost_method
# There is a method here, but you can't see it!
##
# this is a comment for a regular method
def regular_method() end... -
rdoc (66.0)
-
RDoc は Ruby のドキュメント生成を行うためのライブラリです。rdoc という ドキュメント生成のためのコマンドも含んでいます。
...ントも使え
ますし、=begin/=end でのコメントも使えます。=begin/=end を使う場合は、
以下のように =begin の行に 'rdoc' タグを付ける必要があります。
=begin rdoc
Documentation to
be processed by RDoc.
=end
パラグラフは左のインデン......したい場合は all 修飾
子を加えます。
//emlist{
module SM #:nodoc:
class Input
end
end
module Markup #:nodoc: all
class Output
end
end
//}
以上のコードでは、SM::Input のドキュメントのみが出力されます。
: :stopdoc......_rdoc.html を参照し
てください。
また、他にも Ruby スクリプト、Ruby から使用するために書かれた C 言語の
ソースコードのみで指定できる命令があります。それらについては
rdoc/parser/ruby、rdoc/parser/c を参照してください。...