るりまサーチ

最速Rubyリファレンスマニュアル検索!
108件ヒット [101-108件を表示] (0.073秒)

別のキーワード

  1. rexml/document attributes
  2. attributes []
  3. attributes new
  4. attributes <<

ライブラリ

キーワード

検索結果

<< < 1 2 >>

REXML::Attribute#to_string -> String (13.0)

"name='value'" という形式の文字列を返します。

..."name='value'" という形式の文字列を返します。

//emlist[][ruby]{
require 'rexml/document'
e = REXML::Element.new("el")
e.add_attribute("ns:r", "rval")
p e.attributes.get_attribute("r").to_string # => "ns:r='rval'"
//}...
<< < 1 2 >>