るりまサーチ

最速Rubyリファレンスマニュアル検索!
22件ヒット [1-22件を表示] (0.200秒)
トップページ > クエリ:i[x] > クエリ:-[x] > クエリ:r[x] > クエリ:String[x] > クラス:REXML::Attribute[x] > クエリ:value[x]

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

ライブラリ

検索結果

REXML::Attribute#value -> String (24503.0)

正規化されていない属性値を返します。

正規化されていない属性値を返します。

属性値の正規化については XML の仕様を参考にしてください。

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

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

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

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