るりまサーチ

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

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. matrix t
  4. t61string new
  5. fiddle type_size_t

ライブラリ

モジュール

キーワード

検索結果

Exception2MessageMapper#fail(exception_class = nil, *rest) -> () (21220.0)

登録されている情報を使用して、例外を発生させます。

...登録されている情報を使用して、例外を発生させます。

@
param exception_class 例外クラス。

@
param rest メッセージに埋め込む値。

@
raise Exception2MessageMapper::ErrNotRegisteredException 指定された例外クラスに対応するメッセージが存在し...

Exception2MessageMapper#Fail(exception_class = nil, *rest) -> () (9220.0)

登録されている情報を使用して、例外を発生させます。

...

@
param exception_class 例外クラス。

@
param rest メッセージに埋め込む値。

@
raise Exception2MessageMapper::ErrNotRegisteredException 指定された例外クラスに対応するメッセージが存在しない場合に発生します。

例:

class Foo
extend Exceptio...
...eption :NewExceptionClass, "message...%d, %d and %d" # =>

def foo
Raise NewExceptionClass, 1, 2, 3
end
end

Foo.new().foo() #=> in `Raise': message...1, 2 and 3 (Foo::NewExceptionClass)
# という例外が発生します。

Foo.Raise Foo::NewExcepti...
...onClass, 1, 3, 5 #=> in `Raise': message...1, 3 and 5 (Foo::NewExceptionClass)
# という例外が発生します。...

MiniTest::Unit#failures=(count) (9207.0)

失敗したアサーション数をセットします。

...失敗したアサーション数をセットします。

@
param count 件数を指定します。...

Exception2MessageMapper#Raise(exception_class = nil, *rest) -> () (6120.0)

登録されている情報を使用して、例外を発生させます。

...

@
param exception_class 例外クラス。

@
param rest メッセージに埋め込む値。

@
raise Exception2MessageMapper::ErrNotRegisteredException 指定された例外クラスに対応するメッセージが存在しない場合に発生します。

例:

class Foo
extend Exceptio...
...eption :NewExceptionClass, "message...%d, %d and %d" # =>

def foo
Raise NewExceptionClass, 1, 2, 3
end
end

Foo.new().foo() #=> in `Raise': message...1, 2 and 3 (Foo::NewExceptionClass)
# という例外が発生します。

Foo.Raise Foo::NewExcepti...
...onClass, 1, 3, 5 #=> in `Raise': message...1, 3 and 5 (Foo::NewExceptionClass)
# という例外が発生します。...

Exception2MessageMapper#def_e2message(exception_class, message_format) -> Class (3125.0)

すでに存在する例外クラス exception_class に、 エラーメッセージ用フォーマット message_format を関連づけます。

...に存在する例外クラス exception_class に、
エラーメッセージ用フォーマット message_format を関連づけます。

このフォーマットは Exception2MessageMapper#Raise,
Exception2MessageMapper#Fail で使用します。

@
param exception_class メッセージを登録...
...する例外クラスを指定します。

@
param message_format メッセージのフォーマットを指定します。
Kernel.#sprintf のフォーマット文字列と同じ形式を使用できます。

@
return exception_class を返します。...

絞り込み条件を変える

OpenSSL::SSL::SSLContext#verify_mode=(mode) (3019.0)

検証モードを設定します。

...IFY_CLIENT_ONCE
* OpenSSL::SSL::VERIFY_FAIL_IF_NO_PEER_CERT
これらの定数の意味はクライアントモードとサーバモードでは異なる
意味を持ちます。

デフォルトは nil で、VERIFY_NONE を意味します。

@
param mode 設定するモード(整数値)
@
see Open...
...SSL::SSL::SSLContext#verify_mode...