るりまサーチ

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

別のキーワード

  1. etc sc_xopen_enh_i18n
  2. pop3 n_bytes
  3. pop n_bytes
  4. net/pop n_bytes
  5. pop3 n_mails

検索結果

<< 1 2 3 ... > >>

REXML::Element#attributes -> REXML::Attributes (21203.0)

要素が保持している属性の集合を返します。

要素が保持している属性の集合を返します。

OpenSSL::X509::Request#attributes -> [OpenSSL::X509::Attribute] (21202.0)

CSR が保持している attribute を OpenSSL::X509::Attribute の配列で返します。

...CSR が保持している attribute を OpenSSL::X509::Attribute
の配列で返します。

attribute とは X.509 証明書署名要求 に含まれる申請者に関する
追加的な情報です。必須ではありません。X.509v3 拡張領域を
CSR に含めるときは "reqExt" とい...
...う oid の attribute を追加
します。

@see OpenSSL::X509::Request#attribute=,
OpenSSL::X509::Request#add_attribute...

RDoc::Context#attributes -> [RDoc::Attr] (21102.0)

追加された RDoc::Attr の配列を返します。

追加された RDoc::Attr の配列を返します。

URI::LDAP#attributes -> String (18202.0)

自身の Attribute を文字列で返します。

自身の Attribute を文字列で返します。

REXML::Attributes#get_attribute_ns(namespace, name) -> REXML::Attribute | nil (9125.0)

namespace と name で特定される属性を返します。

...namespace と name で特定される属性を返します。

n
amespace で名前空間を、 name で prefix を含まない属性名を
指定します。

指定された属性が存在しない場合は nil を返します。

XML プロセッサが prefix を置き換えてしまった場合...
...く指定することができます。

@param namespace 名前空間(URI, 文字列)
@param name 属性名(文字列)

//emlist[][ruby]{
require 'rexml/document'

doc = REXML::Document.new(<<-EOS)
<root xmlns:foo="http://example.org/foo"
xmlns:bar="http://example.org/bar">
<a foo:att='1' b...
...EOS
a = doc.get_elements("/root/a").first

a.attributes.get_attribute_ns("", "att") # => att='&lt;'
a.attributes.get_attribute_ns("http://example.org/foo", "att") # => foo:att='1'
a.attributes.get_attribute_ns("http://example.org/baz", "att") # => nil
a.attributes.get_attribute_ns("http://example.or...

絞り込み条件を変える

REXML::Element#add_attributes(attrs) -> () (9114.0)

要素の属性を複数追加します。 同じ名前の属性がすでにある場合はその属性を新しい 属性で置き換えます。

...

attrs には Hash もしくは Array を指定できます。
Hash の場合は、
{ "name1" => "value1", "name2" => "value2", ... }
という形で、配列の場合は
[ ["name1", "value1"], ["name2", "value2"], ... }
という形で追加/更新する属性を指定します。

@param a...
...属性の属性名と属性値の対の集合(Array or Hash)

//emlist[][ruby]{
require 'rexml/document'
e = REXML::Element.new("e")
e.add_attributes({"a" => "b", "c" => "d"})
e # => <e a='b' c='d'/>
e = REXML::Element.new("e")
e.add_attributes([["a", "b"], ["c", "d"]])
e # => <e a='b' c='d'/>
//}...

REXML::Attributes#namespaces -> { String => String } (9113.0)

self の中で宣言されている名前空間の集合を返します。

...t[][ruby]{
require 'rexml/document'

doc = REXML::Document.new(<<EOS)
<root xmlns:foo="http://example.org/foo"
xmlns:bar="http://example.org/bar">
<a foo:att='1' bar:att='2' att='&lt;'/>
</root>
EOS
a = doc.get_elements("/root/a").first

p doc.root.attributes.namespaces
# => {"foo"=>"http://...
...example.org/foo", "bar"=>"http://example.org/bar"}
p a.attributes.namespaces
# => {}
//}...

REXML::Attributes#length -> Integer (9107.0)

属性の個数を返します。

...ます。


//emlist[][ruby]{
require 'rexml/document'

doc = REXML::Document.new(<<EOS)
<root xmlns:foo="http://example.org/foo"
xmlns:bar="http://example.org/bar">
<a foo:att='1' bar:att='2' att='&lt;'/>
</root>
EOS
a = doc.get_elements("/root/a").first

p a.attributes.length # => 3
//}...

OpenSSL::X509::Request#attributes=(attrs) (9102.0)

CSR の attribute をクリアして新しい attribute を設定します。

...CSR の attribute をクリアして新しい attribute を設定します。


@param attrs 新たに設定する attribute(OpenSSL::X509::Attribute の
インスタンス)の配列
@see OpenSSL::X509::Request#attribute
OpenSSL::X509::Request#add_attribute...

REXML::Element#has_attributes? -> bool (9102.0)

要素が属性を1つ以上持っていれば真を返します。

要素が属性を1つ以上持っていれば真を返します。

絞り込み条件を変える

<< 1 2 3 ... > >>