種類
- インスタンスメソッド (203)
- クラス (40)
- 特異メソッド (27)
- 定数 (24)
- モジュール (8)
クラス
-
RDoc
:: CodeObject (19) -
RDoc
:: Context (45) -
RDoc
:: Context :: Section (8) -
RDoc
:: Generator :: Darkfish (4) -
RDoc
:: Generator :: JsonIndex (3) -
RDoc
:: Generator :: RI (3) -
RDoc
:: Markdown (21) -
RDoc
:: Markup (11) -
RDoc
:: Markup :: Formatter (3) -
RDoc
:: Markup :: ToAnsi (1) -
RDoc
:: Markup :: ToBs (1) -
RDoc
:: Markup :: ToHtml (1) -
RDoc
:: Markup :: ToHtmlCrossref (1) -
RDoc
:: Markup :: ToRdoc (1) -
RDoc
:: Options (72) -
RDoc
:: Parser (5) -
RDoc
:: Parser :: C (3) -
RDoc
:: Parser :: ChangeLog (1) -
RDoc
:: Parser :: Markdown (1) -
RDoc
:: Parser :: RD (1) -
RDoc
:: Parser :: Ruby (4) -
RDoc
:: Parser :: Simple (3) -
RDoc
:: RDoc (2) -
RDoc
:: Stats (10) -
RDoc
:: TopLevel (14)
モジュール
- RDoc (8)
-
RDoc
:: Text (8)
キーワード
- <=> (1)
- == (1)
-
ATTR
_ MODIFIERS (1) - Alias (1)
- AnonClass (1)
- AnyMethod (1)
- Attr (1)
- C (1)
-
CLASS
_ MODIFIERS (1) -
CONSTANT
_ MODIFIERS (1) - ChangeLog (1)
- ClassModule (1)
- CodeObject (1)
- Constant (1)
- Context (1)
-
DEFAULT
_ EXTENSIONS (1) - DEPRECATED (1)
- DESCRIPTION (1)
-
DOT
_ DOC _ FILENAME (1) - Darkfish (1)
- EXTENSIONS (1)
- Error (1)
- Formatter (1)
-
GENERAL
_ MODIFIERS (1) -
GENERATOR
_ DIR (1) - Generator (1)
- GhostMethod (1)
-
HTML
_ ENTITIES (1) - Include (1)
- JsonIndex (1)
-
KNOWN
_ CLASSES (1) -
LABEL
_ LIST _ RE (1) -
METHOD
_ MODIFIERS (1) - Markdown (2)
- Markup (2)
- MetaMethod (1)
- NORMAL (1)
- NormalClass (1)
- NormalModule (1)
- Options (1)
- Parser (1)
- RD (1)
- RI (1)
- Require (1)
- Ruby (1)
- RubyLex (1)
- RubyToken (1)
- RubyTools (1)
-
SEARCH
_ INDEX _ FILE (1) -
SIMPLE
_ LIST _ RE (1) - SINGLE (1)
- SPACE (1)
- SPECIAL (1)
- Section (1)
- Simple (1)
- SingleClass (1)
- Stats (1)
- TYPES (1)
- Text (2)
- ToAnsi (1)
- ToBs (1)
- ToHtml (1)
- ToHtmlCrossref (1)
- ToRdoc (1)
- TokenStream (1)
- TopLevel (1)
- VERSION (2)
- VISIBILITIES (1)
-
add
_ alias (1) -
add
_ attribute (1) -
add
_ class (1) -
add
_ class _ or _ module (2) -
add
_ constant (1) -
add
_ generator (1) -
add
_ html (1) -
add
_ include (1) -
add
_ method (1) -
add
_ module (1) -
add
_ require (1) -
add
_ special (1) -
add
_ tag (1) -
add
_ to (1) -
add
_ word _ pair (1) -
alias
_ extension (1) - aliases (1)
-
all
_ classes _ and _ modules (1) -
all
_ one _ file (1) -
attribute
_ manager (1) - attributes (1)
-
break
_ on _ newline (1) -
break
_ on _ newline= (1) -
can
_ parse (1) - charset (1)
- classes (1)
- comment (2)
- comment= (1)
- constants (1)
- content (1)
- convert (2)
-
coverage
_ report (1) -
coverage
_ report= (1) - css (2)
- css= (1)
-
current
_ section (1) -
defined
_ in? (1) -
definition
_ lists (1) -
definition
_ lists= (1) - diagram (1)
- document (1)
-
document
_ children (1) -
document
_ children= (1) -
document
_ self (1) -
document
_ self= (1) - documented? (1)
-
dry
_ run (1) -
dry
_ run= (1) -
each
_ attribute (1) -
each
_ classmodule (1) -
each
_ constant (1) -
each
_ method (1) - encoding (1)
- encoding= (1)
- exclude (1)
- exclude= (1)
- extension (2)
- extension? (1)
-
extra
_ accessor _ flags (1) -
extra
_ accessors (1) -
file
_ absolute _ name (1) -
file
_ absolute _ name= (1) -
file
_ relative _ name (1) -
file
_ relative _ name= (1) -
file
_ stat (1) -
file
_ stat= (1) - fileboxes (1)
- files (1)
-
find
_ class _ named (1) -
find
_ enclosing _ module _ named (1) -
find
_ local _ symbol (2) -
find
_ module _ named (2) -
find
_ symbol (1) -
finish
_ page _ dir (1) -
flush
_ left (1) -
force
_ output (1) -
force
_ output= (1) -
force
_ update (1) - formatter (1)
- formatter= (1)
-
full
_ name (1) - generate (3)
- generator (1)
- generator= (1)
-
get
_ line _ types (1) - github (1)
- github= (1)
- html (1)
- html= (1)
-
hyperlink
_ all (1) -
hyperlink
_ all= (1) -
image
_ format (1) -
in
_ files (1) -
include
_ line _ numbers (1) - includes (1)
- initialize (2)
-
initialize
_ classes _ and _ modules (1) -
initialize
_ methods _ etc (1) -
inline
_ source (1) - inspect (1)
-
line
_ numbers (1) -
line
_ numbers= (1) -
main
_ page (1) -
main
_ page= (1) - markup (2)
- markup= (1)
- merge (1)
-
method
_ list (1) - modules (1)
- name (1)
- new (17)
-
normalize
_ comment (1) - notes (1)
- notes= (1)
-
num
_ classes (1) -
num
_ classes= (1) -
num
_ files (1) -
num
_ files= (1) -
num
_ methods (1) -
num
_ methods= (1) -
num
_ modules (1) -
num
_ modules= (1) -
ongoing
_ visibility= (1) -
op
_ dir (1) -
op
_ dir= (1) -
op
_ name (1) -
option
_ parser (1) -
option
_ parser= (1) -
page
_ dir (1) -
page
_ dir= (1) - parent (2)
- parent= (1)
-
parent
_ file _ name (1) -
parent
_ name (1) - parse (4)
-
parse
_ files _ matching (1) -
parser
_ for (1) - parsers (1)
- pipe (1)
- pipe= (1)
- print (1)
- progress= (1)
- promiscuous (1)
- quiet (1)
-
rdoc
_ include (1) -
record
_ location (1) -
remove
_ classes _ and _ modules (1) -
remove
_ methods _ etc (1) -
remove
_ private _ comments (1) - requires (1)
- reset (1)
- root (1)
- root= (1)
-
sanitize
_ path (1) - scan (6)
- section (1)
- section= (1)
- sections (1)
- sequence (1)
-
set
_ comment (1) -
set
_ current _ section (1) -
set
_ visibility _ for (1) -
show
_ all (1) -
show
_ all= (1) -
show
_ hash (1) -
start
_ doc (1) -
static
_ path (1) -
static
_ path= (1) -
stop
_ doc (1) -
strip
_ hashes (1) -
strip
_ newlines (1) -
strip
_ stars (1) -
tab
_ width (1) - template (1)
-
template
_ dir (1) -
template
_ dir= (1) - title (2)
- title= (1)
- toplevel (1)
-
unmatched
_ alias _ lists (1) -
unmatched
_ alias _ lists= (1) - verbosity (1)
- verbosity= (1)
- visibility (2)
- visibility= (1)
- warn (1)
- webcvs (1)
検索結果
先頭5件
-
RDoc (114055.0)
-
rdoc ドキュメントを扱うためのモジュールです。
...rdoc ドキュメントを扱うためのモジュールです。... -
RDoc
:: RDoc (63232.0) -
rdoc ドキュメントの作成を行うクラスです。
...rdoc ドキュメントの作成を行うクラスです。
以下のようにして、rdoc コマンドを実行するのと同様に実行します。
require 'rdoc/rdoc'
rdoc = RDoc::RDoc.new
rdoc.document(args)
args には rdoc コマンドに渡すのと同様の引数を文字列......の配列で指定します。
rdoc コマンドと同様に変換結果はファイルに出力されるため、テキストを
HTML に変換する部分をライブラリとして使用したい場合、
rdoc/markup を参照してください。... -
RDoc
:: DOT _ DOC _ FILENAME -> " . document" (63055.0) -
rdoc コマンドが処理するファイル名の一覧が書かれたファイルの名前を返します。
...
rdoc コマンドが処理するファイル名の一覧が書かれたファイルの名前を返します。... -
RDoc
:: VERSION -> String (63055.0) -
RDoc のバージョンを表す文字列を返します。
...
RDoc のバージョンを表す文字列を返します。... -
RDoc
:: KNOWN _ CLASSES -> {String => String} (63022.0) -
Ruby の組み込みクラスの内部的な変数名がキー、クラス名が値のハッシュです。
...Ruby の組み込みクラスの内部的な変数名がキー、クラス名が値のハッシュです。
RDoc::KNOWN_CLASSES["rb_cObject"] # => "Object"
ライブラリの内部で使用します。... -
RDoc
:: ATTR _ MODIFIERS -> [String] (63007.0) -
ライブラリの内部で使用します。
ライブラリの内部で使用します。 -
RDoc
:: CLASS _ MODIFIERS -> [String] (63007.0) -
ライブラリの内部で使用します。
ライブラリの内部で使用します。 -
RDoc
:: CONSTANT _ MODIFIERS -> [String] (63007.0) -
ライブラリの内部で使用します。
ライブラリの内部で使用します。 -
RDoc
:: GENERAL _ MODIFIERS -> [String] (63007.0) -
ライブラリの内部で使用します。
ライブラリの内部で使用します。 -
RDoc
:: METHOD _ MODIFIERS -> [String] (63007.0) -
ライブラリの内部で使用します。
ライブラリの内部で使用します。 -
RDoc
:: Options # rdoc _ include -> [String] (27307.0) -
コマンドライン引数の --include オプションで指定したディレクトリを文字列 の配列で返します。
コマンドライン引数の --include オプションで指定したディレクトリを文字列
の配列で返します。
指定しなかった場合は ['.'] を返します。 -
RDoc
:: Markup :: ToRdoc (27052.0) -
RDoc 形式のドキュメントをマークアップ記法を保持したまま出力させるための クラスです。
...RDoc 形式のドキュメントをマークアップ記法を保持したまま出力させるための
クラスです。... -
RDoc
:: Markup :: ToRdoc . new(markup = nil) -> RDoc :: Markup :: ToRdoc (18625.0) -
自身を初期化します。
...自身を初期化します。
@param markup RDoc::Markup オブジェクトを指定します。省略した場合
は新しく作成します。... -
RDoc
:: RDoc # document(argv) -> nil (18058.0) -
argv で与えられた引数を元にドキュメントをフォーマットして指定されたディ レクトリに出力します。
...ドラインで rdoc コマンドに指定するのと同じ引数を文字
列の配列で指定します。
@raise RDoc::Error ドキュメントの処理中にエラーがあった場合に発生します。
指定できるオプションについては、lib:rdoc#usage を参照し... -
RDoc
:: RDoc . add _ generator(klass) -> klass (18022.0) -
引数 klass で指定したクラスをジェネレータとして登録します。
...引数 klass で指定したクラスをジェネレータとして登録します。
@param klass 登録するクラスを指定します。
@see c:RDoc::Options#custom_options... -
RDoc
:: TopLevel # find _ local _ symbol(name) -> RDoc :: NormalClass | RDoc :: SingleClass | RDoc :: NormalModule | RDoc :: AnyMethod | RDoc :: Alias | RDoc :: Attr | RDoc :: Constant (11125.0) -
クラス、モジュール、メソッド、定数、属性、alias、ファイルから name で指定したものを返します。見つからなかった場合は nil を返します。
クラス、モジュール、メソッド、定数、属性、alias、ファイルから name で指定したものを返します。見つからなかった場合は nil を返します。 -
RDoc
:: Context # add _ class _ or _ module(collection , class _ type , name , superclass = nil) -> RDoc :: NormalClass | RDoc :: SingleClass | RDoc :: NormalModule (10003.0) -
collection に name で指定したクラス、モジュールを追加します。
...ュールを RDoc::NormalClass、
RDoc::SingleClass、RDoc::NormalModule オ
ブジェクトのいずれかで指定します。
@param name クラス名を文字列で指定します。
@param superclass 追加するクラスの親クラスを RDoc::NormalClass......オ
ブジェクトで指定します。
既に登録済みであった場合は、引数で指定した情報で内容を更新します。ただ
し、RDoc::CodeObject#done_documenting が true を返す場合、何も行
われません。... -
RDoc
:: TopLevel # add _ class _ or _ module(collection , class _ type , name , superclass) -> RDoc :: NormalClass | RDoc :: SingleClass | RDoc :: NormalModule (10003.0) -
collection に name で指定したクラス、モジュールを追加します。
...ュールを RDoc::NormalClass、
RDoc::SingleClass、RDoc::NormalModule オ
ブジェクトのいずれかで指定します。
@param name クラス名を文字列で指定します。
@param superclass 追加するクラスの親クラスを RDoc::NormalClass......オ
ブジェクトで指定します。
既に登録済みであった場合は、引数で指定した情報で内容を更新します。ただ
し、RDoc::CodeObject#done_documenting が true を返す場合、何も行
われません。... -
RDoc
:: Context # add _ module(class _ type , name) -> RDoc :: NormalModule | RDoc :: SingleClass | RDoc :: NormalClass (9985.0) -
引数で指定したモジュールを追加します。
...ram class_type 追加するクラス、モジュールを RDoc::NormalClass、
RDoc::SingleClass、RDoc::NormalModule オ
ブジェクトのいずれかで指定します。
@param name クラス名を文字列で指定します。
@see RDoc::Context#add_class... -
RDoc
:: TopLevel . all _ classes _ and _ modules -> [RDoc :: NormalClass | RDoc :: SingleClass | RDoc :: NormalModule] (9961.0) -
RDoc が収集したクラス、モジュールを配列で返します。
...
RDoc が収集したクラス、モジュールを配列で返します。... -
RDoc
:: Context # each _ classmodule {|m| . . . } -> [RDoc :: SingleClass | RDoc :: NormalClass | RDoc :: NormalModule] (9949.0) -
追加されたクラス、モジュールに対してブロックを評価します。
...追加されたクラス、モジュールに対してブロックを評価します。
@see RDoc::Context#classes, RDoc::Context#modules... -
RDoc
:: Context # add _ class(class _ type , name , superclass) -> RDoc :: SingleClass | RDoc :: NormalClass (9682.0) -
引数で指定したクラスを追加します。
...ュールを RDoc::NormalClass、
RDoc::SingleClass、RDoc::NormalModule オ
ブジェクトのいずれかで指定します。
@param name クラス名を文字列で指定します。
@param superclass 追加するクラスの親クラスを RDoc::NormalClass... -
RDoc
:: TopLevel . find _ class _ named(name) -> RDoc :: NormalClass | RDoc :: SingleClass | nil (9658.0) -
RDoc が収集したクラスの内、name で指定した名前のクラスを返します。見つ からなかった場合は nil を返します。
...
RDoc が収集したクラスの内、name で指定した名前のクラスを返します。見つ
からなかった場合は nil を返します。
@param name クラス名を文字列で指定します。... -
RDoc
:: Context # classes -> [RDoc :: SingleClass | RDoc :: NormalClass] (9610.0) -
追加されたクラスの配列を返します。
追加されたクラスの配列を返します。 -
RDoc
:: Generator :: JsonIndex . new(parent _ generator , options) -> RDoc :: Generator :: JsonIndex (9409.0) -
RDoc::Generator::JsonIndex オブジェクトを初期化します。
...
RDoc::Generator::JsonIndex オブジェクトを初期化します。
@param parent_generator 親となるジェネレータオブジェクトを指定します。
RDoc::Generator::JsonIndex#class_dir や
#file_dir を決めるのに使用します......。
他のジェネレータとは異なり、RDoc::Store
オブジェクトではない点に注意してください。
@param options RDoc::Options オブジェクトを指定します。
parent_generator に渡されたものと同... -
RDoc
:: Parser . parser _ for(top _ level , file _ name , body , options , stats) -> RDoc :: Parser (9409.0) -
file_name を解析できるパーサのインスタンスを返します。 見つからなかった場合は RDoc::Parser::Simple のインスタンスを返します。
... RDoc::Parser::Simple のインスタンスを返します。
@param top_level RDoc::TopLevel オブジェクトを指定します。
@param file_name ファイル名を文字列で指定します。
@param body ソースコードの内容を文字列で指定します。
@param options RDoc::Op......tions オブジェクトを指定します。
@param stats RDoc::Stats オブジェクトを指定します。... -
RDoc
:: Generator :: Darkfish # initialize(store , options) -> RDoc :: Generator :: Darkfish (9391.0) -
RDoc::Generator::Darkfish オブジェクトを初期化します。
...
RDoc::Generator::Darkfish オブジェクトを初期化します。
@param store RDoc::Store オブジェクトを指定します。
@param options RDoc::Options オブジェクトを指定します。... -
RDoc
:: Generator :: RI # initialize(store , options) -> RDoc :: Generator :: RI (9391.0) -
RDoc::Generator::RI オブジェクトを初期化します。
...
RDoc::Generator::RI オブジェクトを初期化します。
@param store RDoc::Store オブジェクトを指定します。
@param options RDoc::Options オブジェクトを指定します。... -
RDoc
:: Context # add _ alias(an _ alias) -> RDoc :: Alias (9373.0) -
引数で指定した RDoc::Alias オブジェクトを追加します。
...引数で指定した RDoc::Alias オブジェクトを追加します。
@param an_alias RDoc::Alias オブジェクトを指定します。... -
RDoc
:: Parser :: Simple # scan -> RDoc :: TopLevel (9373.0) -
自身の持つ RDoc::TopLevel のコメントとしてファイルの内容を解析し ます。
...自身の持つ RDoc::TopLevel のコメントとしてファイルの内容を解析し
ます。
@return RDoc::TopLevel オブジェクトを返します。... -
RDoc
:: Text # parse(text) -> RDoc :: Markup :: Document | Array (9373.0) -
引数から RDoc::Text#normalize_comment でスペースや改行文字などを削 除した後に解析を行います。
...引数から RDoc::Text#normalize_comment でスペースや改行文字などを削
除した後に解析を行います。
@param text 文字列を指定します。
@see RDoc::Text#normalize_comment... -
RDoc
:: Parser :: C . new(top _ level , file _ name , body , options , stats) -> RDoc :: Parser :: C (9361.0) -
自身を初期化します。
...op_level RDoc::TopLevel オブジェクトを指定します。
@param file_name ファイル名を文字列で指定します。
@param body ソースコードの内容を文字列で指定します。
@param options RDoc::Options オブジェクトを指定します。
@param stats RDoc::Stats... -
RDoc
:: Parser :: Ruby . new(top _ level , file _ name , body , options , stats) -> RDoc :: Parser :: Ruby (9361.0) -
自身を初期化します。
...op_level RDoc::TopLevel オブジェクトを指定します。
@param file_name ファイル名を文字列で指定します。
@param body ソースコードの内容を文字列で指定します。
@param options RDoc::Options オブジェクトを指定します。
@param stats RDoc::Stats... -
RDoc
:: Parser :: Simple . new(top _ level , file _ name , body , options , stats) -> RDoc :: Parser :: Simple (9361.0) -
自身を初期化します。
...@param top_level RDoc::TopLevel オブジェクトを指定します。
@param file_name ファイル名を文字列で指定します。
@param body 内容を文字列で指定します。
@param options RDoc::Options オブジェクトを指定します。
@param stats RDoc::Stats オブジ... -
RDoc
:: Context # aliases -> [RDoc :: Alias] (9355.0) -
追加された RDoc::Alias の配列を返します。
...追加された RDoc::Alias の配列を返します。... -
RDoc
:: Context # attributes -> [RDoc :: Attr] (9355.0) -
追加された RDoc::Attr の配列を返します。
...追加された RDoc::Attr の配列を返します。... -
RDoc
:: Context # constants -> [RDoc :: Constant] (9355.0) -
追加された RDoc::Constant の配列を返します。
...追加された RDoc::Constant の配列を返します。... -
RDoc
:: Context # each _ attribute {|a| . . . } -> [RDoc :: Attr] (9355.0) -
追加された RDoc::Attr に対してブロックを評価します。
...追加された RDoc::Attr に対してブロックを評価します。... -
RDoc
:: Context # each _ constant {|c| . . . } -> [RDoc :: Constant] (9355.0) -
追加された RDoc::Constant に対してブロックを評価します。
...追加された RDoc::Constant に対してブロックを評価します。... -
RDoc
:: Context # each _ method {|m| . . . } -> [RDoc :: AnyMethod] (9355.0) -
追加されたメソッド(RDoc::AnyMethod かそのサブクラスのオブジェクト) に対してブロックを評価します。
...追加されたメソッド(RDoc::AnyMethod かそのサブクラスのオブジェクト)
に対してブロックを評価します。... -
RDoc
:: Context # find _ module _ named(name) -> RDoc :: NormalModule | nil (9355.0) -
追加された RDoc::NormalModule から引数で指定した名前のモジュール を検索します。見つからなかった場合は nil を返します。
...追加された RDoc::NormalModule から引数で指定した名前のモジュール
を検索します。見つからなかった場合は nil を返します。
@param name モジュールの名前を文字列で指定します。... -
RDoc
:: Context # includes -> [RDoc :: Include] (9355.0) -
追加された RDoc::Include の配列を返します。
...追加された RDoc::Include の配列を返します。... -
RDoc
:: Context # method _ list -> [RDoc :: AnyMethod] (9355.0) -
追加された(RDoc::AnyMethod かそのサブクラスのオブジェクト)の配列 を返します。
...追加された(RDoc::AnyMethod かそのサブクラスのオブジェクト)の配列
を返します。... -
RDoc
:: Context # modules -> [RDoc :: NormalModule] (9355.0) -
追加された RDoc::NormalModule の配列を返します。
...追加された RDoc::NormalModule の配列を返します。... -
RDoc
:: Context # requires -> [RDoc :: Require] (9355.0) -
追加された RDoc::Require の配列を返します。
...追加された RDoc::Require の配列を返します。... -
RDoc
:: Context # sections -> RDoc :: Context :: Section (9355.0) -
追加された RDoc::Context::Section の配列を返します。
...追加された RDoc::Context::Section の配列を返します。... -
RDoc
:: Context # toplevel -> RDoc :: TopLevel (9355.0) -
自身が所属する RDoc::TopLevel オブジェクトを返します。
...自身が所属する RDoc::TopLevel オブジェクトを返します。... -
RDoc
:: Context # unmatched _ alias _ lists -> {String => RDoc :: Alias} (9355.0) -
メソッド名の対応が取れていない alias の旧メソッド名がキー、 RDoc::Alias が値の Hash を返します。
...メソッド名の対応が取れていない alias の旧メソッド名がキー、
RDoc::Alias が値の Hash を返します。... -
RDoc
:: Context :: Section # parent -> RDoc :: Context (9355.0) -
自身が所属する RDoc::Context オブジェクトを返します。
...自身が所属する RDoc::Context オブジェクトを返します。... -
RDoc
:: Markdown # parse(markdown) -> RDoc :: Markup :: Document (9355.0) -
引数 markdown で指定したドキュメントを解析して RDoc::Markup::Document オブジェクトを返します。
...引数 markdown で指定したドキュメントを解析して
RDoc::Markup::Document オブジェクトを返します。
@param markdown 解析の対象になるドキュメントを文字列で指定します。... -
RDoc
:: Markdown . parse(markdown) -> RDoc :: Markup :: Document (9355.0) -
引数 markdown で指定したドキュメントを解析して RDoc::Markup::Document オブジェクトを返します。
...引数 markdown で指定したドキュメントを解析して
RDoc::Markup::Document オブジェクトを返します。
@param markdown 解析の対象になるドキュメントを文字列で指定します。... -
RDoc
:: Markup # attribute _ manager -> RDoc :: AttributeManager (9355.0) -
自身の RDoc::AttributeManager オブジェクトを返します。
...自身の RDoc::AttributeManager オブジェクトを返します。... -
RDoc
:: Parser . parsers -> [[Regexp , RDoc :: Parser]] (9355.0) -
RDoc::Parser#parse_files_matching で登録した正規表現とパーサクラ スの配列の配列を返します。
...
RDoc::Parser#parse_files_matching で登録した正規表現とパーサクラ
スの配列の配列を返します。... -
RDoc
:: TopLevel # find _ module _ named(name) -> RDoc :: NormalModule (9355.0) -
RDoc が収集したクラスの内、name で指定した名前のモジュールを返します。 見つからなかった場合は nil を返します。
...
RDoc が収集したクラスの内、name で指定した名前のモジュールを返します。
見つからなかった場合は nil を返します。
@param name モジュール名を文字列で指定します。... -
RDoc
:: CodeObject (9340.0) -
RDoc のコードツリーを表現するクラスの基本クラスです。
...RDoc のコードツリーを表現するクラスの基本クラスです。
以下は RDoc::CodeObject のサブクラスのツリーです。
//emlist{
* RDoc::Context
* RDoc::TopLevel
* RDoc::ClassModule
* RDoc::AnonClass
* RDoc::NormalClass
* RDoc::NormalModule
* RD......oc::SingleClass
* RDoc::AnyMethod
* RDoc::GhostMethod
* RDoc::MetaMethod
* RDoc::Alias
* RDoc::Attr
* RDoc::Constant
* RDoc::Require
* RDoc::Include
//}... -
RDoc
:: Context :: Section . new(parent , title , comment) -> RDoc :: Context :: Section (9325.0) -
自身を初期化します。
...自身を初期化します。
@param parent RDoc::Context オブジェクトを指定します。
@param title section のタイトルを文字列で指定します。
@param comment section のコメントを文字列で指定します。
また、section のシーケンス番号を新しく... -
RDoc
:: Markup . new(attribute _ manager = nil) -> RDoc :: Markup (9325.0) -
自身を初期化します。
...自身を初期化します。
@param attribute_manager Rdoc::AttributeManager オブジェクトを指
定します。... -
RDoc
:: Markup :: Formatter . new(markup = nil) -> RDoc :: Markup :: Formatter (9325.0) -
自身を初期化します。
...自身を初期化します。
@param markup RDoc::Markup オブジェクトを指定します。省略した場合
は新しく作成します。... -
RDoc
:: Markup :: ToAnsi . new(markup = nil) -> RDoc :: Markup :: ToAnsi (9325.0) -
自身を初期化します。
...自身を初期化します。
@param markup RDoc::Markup オブジェクトを指定します。省略した場合
は新しく作成します。... -
RDoc
:: Markup :: ToBs . new(markup = nil) -> RDoc :: Markup :: ToBs (9325.0) -
自身を初期化します。
...自身を初期化します。
@param markup RDoc::Markup オブジェクトを指定します。省略した場合
は新しく作成します。... -
RDoc
:: Markup :: ToHtmlCrossref . new(path , context , show _ hash) -> RDoc :: Markup :: ToHtmlCrossref (9325.0) -
自身を初期化します。
...自身を初期化します。
@param path 生成するファイルのパスを文字列で指定します。
@param context RDoc::Context オブジェクトかそのサブクラスのオブジェ
クトを指定します。
@param show_hash true を指定した場合、メソッ... -
RDoc
:: Parser :: C # scan -> RDoc :: TopLevel (9325.0) -
C 言語で記述されたソースコードから組み込みクラス/モジュールのドキュメン トを解析します。
...C 言語で記述されたソースコードから組み込みクラス/モジュールのドキュメン
トを解析します。
@return RDoc::TopLevel オブジェクトを返します。... -
RDoc
:: Parser :: ChangeLog # scan -> RDoc :: TopLevel (9325.0) -
ChangeLog ファイルを解析します。
...ChangeLog ファイルを解析します。
@return RDoc::TopLevel オブジェクトを返します。... -
RDoc
:: Parser :: Markdown # scan -> RDoc :: TopLevel (9325.0) -
Markdown 形式で記述されたファイルを解析します。
...Markdown 形式で記述されたファイルを解析します。
@return RDoc::TopLevel オブジェクトを返します。... -
RDoc
:: Parser :: RD # scan -> RDoc :: TopLevel (9325.0) -
RD 形式で記述されたファイルを解析します。
...RD 形式で記述されたファイルを解析します。
@return RDoc::TopLevel オブジェクトを返します。... -
RDoc
:: Parser :: Ruby # scan -> RDoc :: TopLevel (9325.0) -
Ruby のソースコードからクラス/モジュールのドキュメントを解析します。
...Ruby のソースコードからクラス/モジュールのドキュメントを解析します。
@return RDoc::TopLevel オブジェクトを返します。... -
RDoc
:: CodeObject # parent -> RDoc :: CodeObject (9307.0) -
自身を所有する(変数や定数などの形で保持する)オブジェクトを返します。
自身を所有する(変数や定数などの形で保持する)オブジェクトを返します。 -
RDoc
:: CodeObject # section -> RDoc :: Context :: Section (9307.0) -
所属している section を返します。
所属している section を返します。 -
RDoc
:: CodeObject . new -> RDoc :: CodeObject (9307.0) -
自身を初期化します。
自身を初期化します。 -
RDoc
:: Context # current _ section -> RDoc :: Context :: Section (9307.0) -
現在の section を返します。
現在の section を返します。 -
RDoc
:: Context # find _ enclosing _ module _ named(name) -> RDoc :: NormalModule | nil (9307.0) -
find a module at a higher scope
find a module at a higher scope -
RDoc
:: Context . new -> RDoc :: Context (9307.0) -
自身を初期化します。
自身を初期化します。 -
RDoc
:: Markup :: ToHtml . new -> RDoc :: Markup :: ToHtml (9307.0) -
自身を初期化します。
自身を初期化します。 -
RDoc
:: Parser . can _ parse(file _ name) -> RDoc :: Parser | nil (9307.0) -
file_name を解析できるパーサクラスを返します。見つからなかった場合は nil を返します。
file_name を解析できるパーサクラスを返します。見つからなかった場合は
nil を返します。
@param file_name 解析するファイルの名前を指定します。 -
RDoc
:: Stats . new -> RDoc :: Stats (9307.0) -
自身を初期化します。
自身を初期化します。 -
RDoc
:: TopLevel . new(file _ name) -> RDoc :: TopLevel (9307.0) -
自身を初期化します。
自身を初期化します。
@param file_name ファイル名を文字列で指定します。 -
RDoc
:: Options (9286.0) -
rdoc コマンドのオプションを解析するためのクラスです。
...rdoc コマンドのオプションを解析するためのクラスです。
それぞれのオプションの詳細に関しては、lib:rdoc#usage を参照してくだ
さい。
===[a:custom_options] カスタムオプション
RDoc のジェネレータでは、RDoc::Options をフックし......まれていた場合、RDoc はジェネ
レータ独自のオプションを解析するために setup_options メソッドを呼び出し
ます。カスタムオプションを指定する場合は --format オプションは必ず指定
する必要があります。rdoc --help を実行する......ます。
例:
class RDoc::Generator::Spellcheck
RDoc::RDoc.add_generator self
def self.setup_options rdoc_options
op = rdoc_options.option_parser
op.on('--spell-dictionary DICTIONARY',
RDoc::Options::Path) do |dictionary|
# RDoc::Options に spell_dicti... -
RDoc
:: Markup (9178.0) -
RDoc 形式のドキュメントを目的の形式に変換するためのクラスです。
...RDoc 形式のドキュメントを目的の形式に変換するためのクラスです。
例:
require 'rdoc/markup/to_html'
h = RDoc::Markup::ToHtml.new
puts h.convert(input_string)
独自のフォーマットを行うようにパーサを拡張する事もできます。
例:
req......uire 'rdoc/markup'
require 'rdoc/markup/to_html'
class WikiHtml < RDoc::Markup::ToHtml
# WikiWord のフォントを赤く表示。
def handle_special_WIKIWORD(special)
"<font color=red>" + special.text + "</font>"
end
end
m = RDoc::Markup.new
# { 〜 } までを :STRIK......STRIKE のフォーマットを <strike> 〜 </strike> に指定。
wh.add_tag(:STRIKE, "<strike>", "</strike>")
puts "<body>#{wh.convert ARGF.read}</body>"
変換する形式を変更する場合、フォーマッタ(例. RDoc::Markup::ToHtml)
を変更、拡張する必要があります。... -
RDoc
:: Context # set _ visibility _ for(methods , visibility , singleton = false) -> () (9136.0) -
methods で指定した RDoc::AnyMethod、RDoc::Attr の内、 singleton で指定した条件と一致するメソッドすべての可視性を visibility に設定します。
...methods で指定した RDoc::AnyMethod、RDoc::Attr の内、
singleton で指定した条件と一致するメソッドすべての可視性を visibility
に設定します。
@param methods RDoc::AnyMethod、RDoc::Attr オブジェクトの配
列を指定します。
@param vi... -
RDoc
:: Context # add _ to(array , thing) -> () (9130.0) -
array に thing を追加します。
...を指定します。
RDoc::Context#add_alias などで使われています。ライブラリ内部で使
用します。
@see RDoc::Context#add_alias, RDoc::Context#add_attribute,
RDoc::Context#add_constant, RDoc::Context#add_include,
RDoc::Context#add_method, RDoc::Context#add_require... -
RDoc
:: Context # add _ require(a _ require) -> () (9118.0) -
自身が所属する RDoc::TopLevel オブジェクトに引数で指定した RDoc::Require を追加します。
...自身が所属する RDoc::TopLevel オブジェクトに引数で指定した
RDoc::Require を追加します。
@param a_require RDoc::Require オブジェクトを指定します。... -
RDoc
:: Parser :: RubyTools (9118.0) -
RDoc::RubyLex と RDoc::RubyToken を使って Ruby のソースコー ドのパーサを記述するためのメソッドを定義するモジュールです。
...RDoc::RubyLex と RDoc::RubyToken を使って Ruby のソースコー
ドのパーサを記述するためのメソッドを定義するモジュールです。
RDoc::Parser を継承していないため、パーサクラスとしては利用できま
せん。
ライブラリの内部で使用... -
RDoc
:: CodeObject # start _ doc -> () (9106.0) -
以降に解析したコメントを RDoc::CodeObject#stop_doc を呼び出すまで の間、ドキュメントに含めます。
...たコメントを RDoc::CodeObject#stop_doc を呼び出すまで
の間、ドキュメントに含めます。
:startdoc: を見つけた時に呼び出されます。
RDoc::CodeObject#document_self と
RDoc::CodeObject#document_children を true に設定します。
@see RDoc::CodeObject#end_d... -
RDoc
:: CodeObject # stop _ doc -> () (9106.0) -
以降に解析したコメントを RDoc::CodeObject#start_doc を呼び出すま での間、ドキュメントに含めません。
...コメントを RDoc::CodeObject#start_doc を呼び出すま
での間、ドキュメントに含めません。
:stopdoc: を見つけた時に呼び出されます。
RDoc::CodeObject#document_self と
RDoc::CodeObject#document_children を false に設定します。
@see RDoc::CodeObject#star... -
RDoc
:: Generator (9100.0) -
RDoc が解析したソースコードを RDoc::CodeObject のツリーから その他の形式に出力するためのクラスです。
...RDoc が解析したソースコードを RDoc::CodeObject のツリーから
その他の形式に出力するためのクラスです。... -
RDoc
:: TopLevel . reset -> () (9100.0) -
RDoc が収集した RDoc::TopLevel の情報(クラス、モジュール、ファイ ル)をクリアします。
...
RDoc が収集した RDoc::TopLevel の情報(クラス、モジュール、ファイ
ル)をクリアします。... -
RDoc
:: Text # normalize _ comment(text) -> String (9076.0) -
引数から行頭のスペースや改行文字などを削除します。
...から行頭のスペースや改行文字などを削除します。
詳しくは [SEE ALSO] の各メソッドを参照してください。
@param text 文字列を指定します。
@see RDoc::Text#strip_hashes, RDoc::Text#expand_tabs,
RDoc::Text#flush_left, RDoc::Text#strip_newlines... -
RDoc
:: Context # add _ attribute(an _ attribute) -> () (9070.0) -
引数で指定した RDoc::Attr オブジェクトを追加します。
...引数で指定した RDoc::Attr オブジェクトを追加します。
@param an_attribute RDoc::Attr オブジェクトを指定します。... -
RDoc
:: Context # add _ constant(const) -> () (9070.0) -
引数で指定した RDoc::Constant オブジェクトを追加します。
...引数で指定した RDoc::Constant オブジェクトを追加します。
@param const RDoc::Constant オブジェクトを指定します。... -
RDoc
:: Context # add _ include(an _ include) -> () (9070.0) -
引数で指定した RDoc::Include オブジェクトを追加します。
...引数で指定した RDoc::Include オブジェクトを追加します。
@param an_include RDoc::Include オブジェクトを指定します。... -
RDoc
:: Context # add _ method(a _ method) -> () (9070.0) -
引数で指定した RDoc::AnyMethod オブジェクトを追加します。
...引数で指定した RDoc::AnyMethod オブジェクトを追加します。
@param a_method RDoc::AnyMethod オブジェクトかそのサブクラスのオ
ブジェクトを指定します。... -
RDoc
:: Context # unmatched _ alias _ lists=(val) (9070.0) -
メソッド名の対応が取れていない alias の旧メソッド名がキー、 RDoc::Alias が値の Hash を設定します。
...メソッド名の対応が取れていない alias の旧メソッド名がキー、
RDoc::Alias が値の Hash を設定します。
@param val 旧メソッド名がキー、RDoc::Alias が値の Hash を指
定します。... -
RDoc
:: Markup :: Formatter (9070.0) -
RDoc 形式のドキュメントを整形するための基本クラスです。
...RDoc 形式のドキュメントを整形するための基本クラスです。
実際にドキュメントを整形するには、RDoc::Markup::ToHtml のような、
継承したクラスで convert メソッドを実行してください。... -
RDoc
:: Markup :: Formatter # add _ tag(name , start , stop) -> () (9058.0) -
name で登録された規則で取得された文字列を start と stop で囲むように指 定します。
...@param name RDoc::Markup::ToHtml などのフォーマッタに識別させる時
の名前を Symbol で指定します。
@param start 開始の記号を文字列で指定します。
@param stop 終了の記号を文字列で指定します。
例:
require 'rdoc/markup/to_html......'
# :STRIKE のフォーマットを <strike> 〜 </strike> に指定。
h = RDoc::Markup::ToHtml.new
h.add_tag(:STRIKE, "<strike>", "</strike>")... -
RDoc
:: Parser :: Text (9058.0) -
プログラムを含まないテキストを解析するためのクラスです。
...プログラムを含まないテキストを解析するためのクラスです。
単体では使用せず、RDoc::Parser のサブクラスで RDoc::Parser::Text
を include する事で、プログラムを含んでいない事を rdoc に伝えます。... -
RDoc
:: CodeObject # remove _ classes _ and _ modules -> () (9052.0) -
何もしません。RDoc::CodeObject#document_children= に false を指定 した時のコールバックとして呼び出されます。オーバーライドして使用します。
...何もしません。RDoc::CodeObject#document_children= に false を指定
した時のコールバックとして呼び出されます。オーバーライドして使用します。... -
RDoc
:: CodeObject # remove _ methods _ etc -> () (9052.0) -
何もしません。RDoc::CodeObject#document_self= に false を指定した 時のコールバックとして呼び出されます。オーバーライドして使用します。
...何もしません。RDoc::CodeObject#document_self= に false を指定した
時のコールバックとして呼び出されます。オーバーライドして使用します。... -
RDoc
:: Context (9052.0) -
モジュール、クラス、メソッドなどの、rdoc/code_objects が定義す るクラスを管理するクラスです。
...モジュール、クラス、メソッドなどの、rdoc/code_objects が定義す
るクラスを管理するクラスです。... -
RDoc
:: Generator :: JsonIndex # generate -> () (9052.0) -
解析した情報を RDoc::Generator::JsonIndex::SEARCH_INDEX_FILE に出 力します。
...解析した情報を RDoc::Generator::JsonIndex::SEARCH_INDEX_FILE に出
力します。... -
RDoc
:: Markdown (9052.0) -
Markdown 形式で記述されたドキュメントを rdoc 上で解析するための クラスです。
...Markdown 形式で記述されたドキュメントを rdoc 上で解析するための
クラスです。...