るりまサーチ (Ruby 2.3.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.064秒)
トップページ > バージョン:2.3.0[x] > 種類:インスタンスメソッド[x] > クエリ:fix[x] > クラス:REXML::Attribute[x]

別のキーワード

  1. bigdecimal fix
  2. fix bigdecimal
  3. chr2fix
  4. int2fix

ライブラリ

検索結果

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

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

...t.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 # -> ""
//}...