るりまサーチ (Ruby 2.2.0)

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

別のキーワード

  1. rss title=
  2. rss date=
  3. rss description=
  4. rss link=
  5. rss about=

ライブラリ

クラス

検索結果

REXML::Attribute#to_string -> String (54361.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'"
//}