3件ヒット
[1-3件を表示]
(0.028秒)
別のキーワード
クラス
- CGI (1)
-
OpenSSL
:: ASN1 :: ObjectId (1)
キーワード
- escape (1)
-
rubygems
/ command _ manager (1)
検索結果
先頭3件
-
OpenSSL
:: ASN1 :: ObjectId . register(oid , short _ name , long _ name) -> true (54340.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... -
CGI
. escape(string) -> String (55.0) -
与えられた文字列を URL エンコードした文字列を新しく作成し返します。
与えられた文字列を URL エンコードした文字列を新しく作成し返します。
@param string URL エンコードしたい文字列を指定します。
例:
require "cgi"
p CGI.escape('@##') #=> "%40%23%23"
url = "http://www.example.com/register?url=" +
CGI.escape('http://www.example.com/index.rss')
p url
#=> "http://www... -
rubygems
/ command _ manager (55.0) -
gem コマンドによってサポートされているサブコマンドを管理するライブラリです。
gem コマンドによってサポートされているサブコマンドを管理するライブラリです。
Extra commands can be provided by writing a rubygems_plugin.rb
file in an installed gem. You should register your command against the
Gem::CommandManager instance, like this:
# file rubygems_plugin.rb
require 'rubygems/command_manager'
class Gem::Co...