種類
- インスタンスメソッド (184)
- 定数 (55)
- 特異メソッド (40)
- ライブラリ (22)
ライブラリ
- ビルトイン (82)
-
cgi
/ core (11) -
irb
/ extend-command (11) - json (11)
-
net
/ imap (11) -
net
/ smtp (11) - openssl (66)
-
rubygems
/ source _ index (11) - socket (44)
- tsort (21)
クラス
-
Gem
:: SourceIndex (11) -
JSON
:: State (11) -
Net
:: IMAP (11) -
Net
:: SMTP (11) -
OpenSSL
:: X509 :: ExtensionFactory (55) -
RubyVM
:: InstructionSequence (27) - String (55)
モジュール
-
CGI
:: QueryExtension (11) -
IRB
:: ExtendCommandBundle (11) -
OpenSSL
:: OCSP (11) -
Socket
:: Constants (44) - TSort (21)
キーワード
-
INADDR
_ ANY (11) -
MCAST
_ BLOCK _ SOURCE (11) -
MCAST
_ UNBLOCK _ SOURCE (11) -
MSG
_ ERRQUEUE (11) -
REVOKED
_ STATUS _ REMOVEFROMCRL (11) - append (11)
-
create
_ ext _ from _ array (11) -
create
_ ext _ from _ hash (11) -
create
_ ext _ from _ string (11) -
create
_ extension (22) -
each
_ strongly _ connected _ component _ from (21) - encode (33)
- encode! (22)
-
from
_ installed _ gems (11) -
from
_ state (11) -
install
_ alias _ method (11) -
load
_ from _ binary (9) -
load
_ from _ binary _ extra _ data (9) - mailfrom (11)
-
rubygems
/ commands / uninstall _ command (11) -
to
_ binary (9) - tsort (11)
検索結果
先頭5件
- CGI
:: QueryExtension # from -> String - RubyVM
:: InstructionSequence . load _ from _ binary(binary) -> RubyVM :: InstructionSequence - OpenSSL
:: X509 :: ExtensionFactory # create _ extension(obj) -> OpenSSL :: X509 :: Extension - OpenSSL
:: X509 :: ExtensionFactory # create _ extension(oid , value , critical=false) -> OpenSSL :: X509 :: Extension - Gem
:: SourceIndex . from _ installed _ gems(*deprecated) -> Gem :: SourceIndex
-
CGI
:: QueryExtension # from -> String (24217.0) -
ENV['HTTP_FROM'] を返します。
...ENV['HTTP_FROM'] を返します。... -
RubyVM
:: InstructionSequence . load _ from _ binary(binary) -> RubyVM :: InstructionSequence (21607.0) -
RubyVM::InstructionSequence#to_binaryにより作られたバイナリフォーマットの文字列からiseqのオブジェクトをロードします。
...RubyVM::InstructionSequence#to_binaryにより作られたバイナリフォーマットの文字列からiseqのオブジェクトをロードします。
このローダーは検証機構をもっておらず、壊れたり改変されたバイナリを読み込むと深刻な問題を引き起......りません。自分が変換したバイナリデータを使うべきです。
//emlist[例][ruby]{
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
binary = iseq.to_binary
RubyVM::InstructionSequence.load_from_binary(binary).eval # => 3
//}
@see RubyVM::InstructionSequence#to_binary... -
OpenSSL
:: X509 :: ExtensionFactory # create _ extension(obj) -> OpenSSL :: X509 :: Extension (21518.0) -
OpenSSL::X509::Extension のインスタンスを生成して返します。
...enSSL::X509::Extension のインスタンスを生成して返します。
引数の個数が1個である場合、それが配列、ハッシュ、文字列のいずれかである
ならば、
OpenSSL::X509::ExtensionFactory#create_ext_from_array、
OpenSSL::X509::ExtensionFactory#create_ext_from......_hash、
OpenSSL::X509::ExtensionFactory#create_ext_from_string、
がそれぞれ呼びだされてオブジェクトを生成します。
引数が2個以上である場合は、
OpenSSL::X509::ExtensionFactory#create_ext が呼びだされて
オブジェクトを生成します。
@param obj......拡張領域のデータ。配列、ハッシュ、文字列のいずれか
@param oid 拡張領域の識別子を表す文字列
@param value 拡張領域の値を表す文字列
@param critical 重要度(真偽値)... -
OpenSSL
:: X509 :: ExtensionFactory # create _ extension(oid , value , critical=false) -> OpenSSL :: X509 :: Extension (21518.0) -
OpenSSL::X509::Extension のインスタンスを生成して返します。
...enSSL::X509::Extension のインスタンスを生成して返します。
引数の個数が1個である場合、それが配列、ハッシュ、文字列のいずれかである
ならば、
OpenSSL::X509::ExtensionFactory#create_ext_from_array、
OpenSSL::X509::ExtensionFactory#create_ext_from......_hash、
OpenSSL::X509::ExtensionFactory#create_ext_from_string、
がそれぞれ呼びだされてオブジェクトを生成します。
引数が2個以上である場合は、
OpenSSL::X509::ExtensionFactory#create_ext が呼びだされて
オブジェクトを生成します。
@param obj......拡張領域のデータ。配列、ハッシュ、文字列のいずれか
@param oid 拡張領域の識別子を表す文字列
@param value 拡張領域の値を表す文字列
@param critical 重要度(真偽値)... -
Gem
:: SourceIndex . from _ installed _ gems(*deprecated) -> Gem :: SourceIndex (21407.0) -
与えられたパスをもとに、インスタンスを作成するファクトリメソッドです。
...与えられたパスをもとに、インスタンスを作成するファクトリメソッドです。
@param deprecated この引数は非推奨です。後方互換性のためにのみ提供されているので使用すべきではありません。
@see Gem::SourceIndex.from_gems_in... -
RubyVM
:: InstructionSequence . load _ from _ binary _ extra _ data(binary) -> String (21407.0) -
バイナリフォーマットの文字列から埋め込まれたextra_dataを取り出します。
...埋め込まれたextra_dataを取り出します。
//emlist[例][ruby]{
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
binary = iseq.to_binary("extra_data")
RubyVM::InstructionSequence.load_from_binary_extra_data(binary) # => extra_data
//}
@see RubyVM::InstructionSequence#to_binary... -
OpenSSL
:: X509 :: ExtensionFactory # create _ ext _ from _ string(str) -> OpenSSL :: X509 :: Extension (18401.0) -
文字列から OpenSSL::X509::Extension オブジェクトを生成します。
...字列から OpenSSL::X509::Extension オブジェクトを生成します。
文字列は "oid = value" もしくは "oid = critical, value" という
形式である必要があります。
@param str 生成する拡張領域のデータの文字列
@see OpenSSL::X509::ExtensionFactory#create_ex... -
OpenSSL
:: X509 :: ExtensionFactory # create _ ext _ from _ array(ary) -> OpenSSL :: X509 :: Extension (15401.0) -
[oid, value, critical] もしくは [oid, value] という配列から OpenSSL::X509::Extension オブジェクトを生成します。
...[oid, value, critical] もしくは [oid, value] という配列から
OpenSSL::X509::Extension オブジェクトを生成します。
@param ary 生成する拡張領域のデータの配列
@see OpenSSL::X509::ExtensionFactory#create_ext... -
OpenSSL
:: X509 :: ExtensionFactory # create _ ext _ from _ hash(hash) -> OpenSSL :: X509 :: Extension (15401.0) -
ハッシュから OpenSSL::X509::Extension オブジェクトを生成します。
...ハッシュから OpenSSL::X509::Extension オブジェクトを生成します。
渡すハッシュテーブルは
{"oid" => OID文字列, "value" => value文字列, "critical" => 真偽値 }
という内容が必要です。"critical" を省略した場合は false が
渡されるのと同......じになります。
@param hash 生成する拡張領域のデータのハッシュテーブル
@see OpenSSL::X509::ExtensionFactory#create_ext... -
RubyVM
:: InstructionSequence # to _ binary(extra _ data = nil) -> String (15234.0) -
バイナリフォーマットでシリアライズされたiseqのデータを文字列として返します。 RubyVM::InstructionSequence.load_from_binary メソッドでバイナリデータに対応するiseqオブジェクトを作れます。
...れたiseqのデータを文字列として返します。
RubyVM::InstructionSequence.load_from_binary メソッドでバイナリデータに対応するiseqオブジェクトを作れます。
引数の extra_data はバイナリデータと共に保存されます。
RubyVM::InstructionSequence.......load_from_binary_extra_data メソッドでこの文字列にアクセス出来ます。
注意: 変換後のバイナリデータはポータブルではありません。 to_binary で得たバイナリデータは他のマシンに移動できません。他のバージョンや他のアーキ......テクチャのRubyで作られたバイナリデータは使用できません。
//emlist[例][ruby]{
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
iseq.to_binary("extra_data")
# ※表示の都合上改行しているが実際は改行はない
# => "YARB\x02\x00\x00\x00\x03\x00\x00...