るりまサーチ

最速Rubyリファレンスマニュアル検索!
110件ヒット [101-110件を表示] (0.040秒)
トップページ > クエリ:new[x] > クエリ:add_attribute[x]

別のキーワード

  1. tracer add_filter
  2. logger add
  3. rexml/document add
  4. openssl add_extension
  5. socket ip_add_membership

ライブラリ

クラス

キーワード

検索結果

<< < 1 2 >>

REXML::Attribute#to_string -> String (12.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 >>