るりまサーチ (Ruby 3.2)

最速Rubyリファレンスマニュアル検索!
3件ヒット [1-3件を表示] (0.010秒)
トップページ > バージョン:3.2[x] > クエリ:comment[x] > 種類:特異メソッド[x]

別のキーワード

  1. comment new
  2. rexml comment
  3. comment ==
  4. etc comment
  5. comment <=>

ライブラリ

検索結果

REXML::Comment.new(comment, parent = nil) -> REXML::Comment (9715.0)

Comment オブジェクトを生成します。

Comment オブジェクトを生成します。

引数に REXML::Comment オブジェクトを渡すとその内容が複製されます
(親ノードの情報は複製されません)。

@param string コメント文字列
@param comment REXML::Comment オブジェクト
@param parent 親ノード

REXML::Comment.new(string, parent = nil) -> REXML::Comment (9415.0)

Comment オブジェクトを生成します。

Comment オブジェクトを生成します。

引数に REXML::Comment オブジェクトを渡すとその内容が複製されます
(親ノードの情報は複製されません)。

@param string コメント文字列
@param comment REXML::Comment オブジェクト
@param parent 親ノード

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

自身を初期化します。

自身を初期化します。

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

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

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

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