るりまサーチ (Ruby 2.6.0)

最速Rubyリファレンスマニュアル検索!
14件ヒット [1-14件を表示] (0.020秒)
トップページ > クエリ:IO[x] > バージョン:2.6.0[x] > ライブラリ:rdoc/context[x]

別のキーワード

  1. io popen
  2. io pipe
  3. io each
  4. io each_line
  5. io readlines

検索結果

RDoc::Context#current_section -> RDoc::Context::Section (18607.0)

現在の section を返します。

現在の section を返します。

RDoc::Context#sections -> RDoc::Context::Section (18607.0)

追加された RDoc::Context::Section の配列を返します。

追加された RDoc::Context::Section の配列を返します。

RDoc::Context#record_location(toplevel) (18307.0)

Record the file that we happen to find it in

Record the file that we happen to find it in

RDoc::Context#set_current_section(title, comment) -> () (18307.0)

Handle sections

Handle sections

RDoc::Context::Section (18007.0)

section に関する情報を保持するクラスです。

section に関する情報を保持するクラスです。

ドキュメント中で以下のように記述した情報を保持しています。

# :section: The title
# The body

絞り込み条件を変える

RDoc::Context::Section.new(parent, title, comment) -> RDoc::Context::Section (9307.0)

自身を初期化します。

自身を初期化します。

@param parent RDoc::Context オブジェクトを指定します。

@param title section のタイトルを文字列で指定します。

@param comment section のコメントを文字列で指定します。

また、section のシーケンス番号を新しく作成します。

RDoc::Context::Section#==(other) -> bool (9007.0)

自身と other のシーケンス番号を比較した結果を返します。

自身と other のシーケンス番号を比較した結果を返します。

@param other RDoc::Context::Section オブジェクトを指定します。

RDoc::Context::Section#comment -> String | nil (9007.0)

section のコメントを返します。

section のコメントを返します。

RDoc::Context::Section#inspect -> String (9007.0)

自身の情報を人間に読みやすい文字列にして返します。

自身の情報を人間に読みやすい文字列にして返します。

RDoc::Context::Section#parent -> RDoc::Context (9007.0)

自身が所属する RDoc::Context オブジェクトを返します。

自身が所属する RDoc::Context オブジェクトを返します。

絞り込み条件を変える

RDoc::Context::Section#sequence -> String (9007.0)

section のシーケンス番号を文字列で返します。

section のシーケンス番号を文字列で返します。

リンクを作成する時に使われます。

RDoc::Context::Section#set_comment(comment) -> () (9007.0)

自身にコメントを設定します。

自身にコメントを設定します。

@param comment 文字列を指定します。

comment の最初の行に :section: を含んでいた場合、その行以降の文字列をコ
メントとして設定します。そうでない場合は comment すべてをコメントとして
設定します。

# ---------------------
# :section: The title
# The body
# ---------------------

RDoc::Context::Section#title -> String | nil (9007.0)

section のタイトルを返します。

section のタイトルを返します。

RDoc::Context#add_class_or_module(collection, class_type, name, superclass = nil) -> RDoc::NormalClass | RDoc::SingleClass | RDoc::NormalModule (307.0)

collection に name で指定したクラス、モジュールを追加します。

collection に name で指定したクラス、モジュールを追加します。

@param collection クラス、モジュールを追加する先を Hash オブジェ
クトで指定します。

@param class_type 追加するクラス、モジュールを RDoc::NormalClass、
RDoc::SingleClass、RDoc::NormalModule オ
ブジェクトのいずれかで指定します。

@param name クラス名を文字列で指定します。

@param su...