るりまサーチ

最速Rubyリファレンスマニュアル検索!
168件ヒット [1-100件を表示] (0.027秒)
トップページ > クエリ:comment[x] > ライブラリ:rexml/document[x]

別のキーワード

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

クラス

キーワード

検索結果

<< 1 2 > >>

REXML::Element#comments -> [REXML::Comments] (6218.0)

すべての comment 子ノードの配列を返します。

...すべての comment 子ノードの配列を返します。

返される配列は freeze されます。...

REXML::Comment (6002.0)

XML コメントを表すクラス。

...XML コメントを表すクラス。

コメントとは <!-- と --> で挟まれたテキストです。

//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<!-- xx -->
<root>
<!-- yy -->
text
<!-- zz -->
</root>
EOS

doc[0].string # => " xx "
doc.root[1].string # => " yy...

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

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

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

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

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

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

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

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

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

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

REXML::Comment#clone -> REXML::Comment (3119.0)

内容が複製された Comment オブジェクトを返します。 (親ノードの情報は複製されません)。

...内容が複製された Comment オブジェクトを返します。
(親ノードの情報は複製されません)。...

絞り込み条件を変える

REXML::Comment#<=>(other) -> -1 | 0 | 1 (3018.0)

other と内容(REXML::Comment#string)を比較します。

...other と内容(REXML::Comment#string)を比較します。...

REXML::Comment#==(other) -> bool (3018.0)

other と内容(REXML::Comment#string)が同じならば真を返します。

...other と内容(REXML::Comment#string)が同じならば真を返します。...

REXML::Comment#node_type -> Symbol (3018.0)

シンボル :comment を返します。

...シンボル :comment を返します。...

REXML::Comment#string -> String (3002.0)

コメント文字列を返します。

コメント文字列を返します。
<< 1 2 > >>