るりまサーチ

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

別のキーワード

  1. _builtin to_i
  2. fiddle to_i
  3. matrix elements_to_i
  4. csv to_i
  5. matrix i

ライブラリ

キーワード

検索結果

REXML::Attribute#node_type -> Symbol (12101.0)

「:attribute」というシンボルを返します。

...「:attribute」というシンボルを返します。...

REXML::Attribute#prefix -> String (9207.0)

属性の名前空間を返します。

.../emlist[][ruby]{
require 'rexml/document'
e = REXML::Element.new( "elns:myelement" )
e.add_attribute( "nsa:a", "aval" )
e.add_attribute( "b", "bval" )
p e.attributes.get_attribute( "a" ).prefix # -> "nsa"
p e.attributes.get_attribute( "b" ).prefix # -> "elns"
a = REXML::Attribute.new( "x", "y" )...
...p a.prefix # -> ""
//}...