48件ヒット
[1-48件を表示]
(0.029秒)
種類
- ライブラリ (36)
- インスタンスメソッド (12)
ライブラリ
-
rdoc
/ parser (12)
クラス
-
RDoc
:: Parser (12)
キーワード
-
parse
_ files _ matching (12) - rdoc (12)
-
rdoc
/ parser / c (12)
検索結果
-
rdoc
/ parser (38012.0) -
rdoc で解析できるファイルの種類を追加するためのサブライブラリです。
...hing メソッドで自身が解析できるファイル名のパ
ターンを登録しておく必要があります。
例:
require "rdoc/parser"
class RDoc::Parser::Xyz < RDoc::Parser
parse_files_matching /\.xyz$/
def initialize(file_name, body, options)
...
end... -
RDoc
:: Parser # parse _ files _ matching(regexp) -> () (8006.0) -
regexp で指定した正規表現にマッチするファイルを解析できるパーサとして、 自身を登録します。
...マッチするファイルを解析できるパーサとして、
自身を登録します。
@param regexp 正規表現を指定します。
新しいパーサを作成する時に使用します。
例:
class RDoc::Parser::Xyz < RDoc::Parser
parse_files_matching /\.xyz$/
...
end... -
rdoc
/ parser / c (6018.0) -
C 言語で記述されたソースコードから組み込みクラス/モジュールのドキュメン トを解析するためのサブライブラリです。
...るためのサブライブラリです。
C 言語で記述された拡張ライブラリなどを解析するのに使用します。
rb_define_class や rb_define_method などで定義されたものに
対応する C 言語の関数のコメントを解析します。
例: Array#flatten の......あります。
また、Ruby のソースコードとは別にコメントには特別な命令を指定する事がで
きます。
: Document-class: name
記述する内容を name で指定した Ruby のクラスのものに指定します。同じ
.c ファイルに複数のクラス定......そうでない場合は以下のような指定を行います。
rb_define_method(....); // in ファイル名
例:
/*
* Document-class: MyClass
*
* Encapsulate the writing and reading of the configuration
* file. ...
*/
/*
* Document-method: read_value
*
* ca... -
rdoc (42.0)
-
RDoc は Ruby のドキュメント生成を行うためのライブラリです。rdoc という ドキュメント生成のためのコマンドも含んでいます。
...メントを生成したければ、まずこの文章を読みましょう。
* Cで書かれた拡張ライブラリを含めたければ、rdoc/parser/c を参照してください。
* コメント部で使えるマークアップについて知りたければ、rdoc/markup を参照してく......source directory. Default is
the current directory.
: --page-dir dir
Directory where guides, your FAQ or other pages not associated with
a class live. Set this when you don't store such files at your
project root. NOTE: Do not use the same file name in the page dir
and the root of your......。これをオフにしたい場合は all 修飾
子を加えます。
//emlist{
module SM #:nodoc:
class Input
end
end
module Markup #:nodoc: all
class Output
end
end
//}
以上のコードでは、SM::Input のドキュメントのみが出力され...