60件ヒット
[1-60件を表示]
(0.032秒)
ライブラリ
- ビルトイン (12)
-
irb
/ context (12) -
rdoc
/ context (36)
クラス
-
IRB
:: Context (12) - Module (12)
-
RDoc
:: Context (36)
キーワード
-
const
_ source _ location (12) -
each
_ classmodule (12) -
initialize
_ classes _ and _ modules (12) -
load
_ modules (12)
検索結果
先頭5件
- RDoc
:: Context # modules -> [RDoc :: NormalModule] - Module
# const _ source _ location(name , inherited = true) -> [String , Integer] - IRB
:: Context # load _ modules -> [String] - RDoc
:: Context # initialize _ classes _ and _ modules -> () - RDoc
:: Context # each _ classmodule {|m| . . . } -> [RDoc :: SingleClass | RDoc :: NormalClass | RDoc :: NormalModule]
-
RDoc
:: Context # modules -> [RDoc :: NormalModule] (21102.0) -
追加された RDoc::NormalModule の配列を返します。
追加された RDoc::NormalModule の配列を返します。 -
Module
# const _ source _ location(name , inherited = true) -> [String , Integer] (12207.0) -
name で指定した定数の定義を含むソースコードのファイル名と行番号を配列で返します。
...B.const_source_location('C4') # => ["test.rb", 12]
p B.const_source_location('C3') # => ["test.rb", 7]
p B.const_source_location('C1') # => ["test.rb", 2]
p B.const_source_location('C3', false) # => nil -- include したモジュールは検索しない
p A.const_......source_location('C2') # => ["test.rb", 16] -- 最後に定義された位置を返す
p Object.const_source_location('B') # => ["test.rb", 10] -- Object はトップレベルの定数を検索する
p Object.const_source_location('A') # => ["test.rb", 1] -- クラスが再定......を返す
p B.const_source_location('A') # => ["test.rb", 1] -- Object を継承している為
p M.const_source_location('A') # => ["test.rb", 1] -- Object は継承していないが追加で modules をチェックする
p Object.const_source_location('A::C1') # => ["t... -
IRB
:: Context # load _ modules -> [String] (9118.0) -
irb の起動時に -r オプション指定で読み込まれたライブラリ、~/.irbrc など の設定ファイル内で IRB.conf[:LOAD_MODULES] 指定で読み込まれたライブラリ の名前の配列を返します。
...irb の起動時に -r オプション指定で読み込まれたライブラリ、~/.irbrc など
の設定ファイル内で IRB.conf[:LOAD_MODULES] 指定で読み込まれたライブラリ
の名前の配列を返します。... -
RDoc
:: Context # initialize _ classes _ and _ modules -> () (9102.0) -
追加されたクラスやモジュールをクリアします。
追加されたクラスやモジュールをクリアします。 -
RDoc
:: Context # each _ classmodule {|m| . . . } -> [RDoc :: SingleClass | RDoc :: NormalClass | RDoc :: NormalModule] (3007.0) -
追加されたクラス、モジュールに対してブロックを評価します。
...追加されたクラス、モジュールに対してブロックを評価します。
@see RDoc::Context#classes, RDoc::Context#modules...