るりまサーチ (Ruby 3.2)

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

別のキーワード

  1. rexml/document attributes
  2. attributes []
  3. attributes <<
  4. attributes []=

ライブラリ

検索結果

REXML::Attributes.new(element) -> REXML::Attributes (63694.0)

空の Attributes オブジェクトを生成します。

空の Attributes オブジェクトを生成します。

どの要素の属性であるかを element で指定します。

通常は REXML::Element.new によって Attributes オブジェクト
が生成されるため、このメソッドを使う必要はありません。

@param element 属性が属する要素(REXML::Element オブジェクト)

OpenSSL::ASN1::ObjectId.register(oid, short_name, long_name) -> true (58.0)

オブジェクト識別子に対応する名前(short name と long name)を OpenSSLの内部テーブルに登録します。

オブジェクト識別子に対応する名前(short name と long name)を
OpenSSLの内部テーブルに登録します。

登録した名前は OpenSSL::X509::Extension などで利用できるようになります。

例:

require "openssl"
OpenSSL::ASN1::ObjectId.register(
"2.5.29.9", "subjectDirAttrs", "X509v3 Subject Directory Attributes")
p OpenSSL::ASN1::ObjectId.new("2.5.29.9").long_n...