るりまサーチ

最速Rubyリファレンスマニュアル検索!
6件ヒット [1-6件を表示] (0.126秒)
トップページ > 種類:インスタンスメソッド[x] > クエリ:kernel[x] > クエリ:p[x] > モジュール:Exception2MessageMapper[x]

別のキーワード

  1. kernel spawn
  2. kernel exec
  3. kernel system
  4. kernel open
  5. kernel fail

ライブラリ

検索結果

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

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

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

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

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

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

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