るりまサーチ

最速Rubyリファレンスマニュアル検索!
12件ヒット [1-12件を表示] (0.216秒)
トップページ > クエリ:-[x] > クエリ:I[x] > クエリ:r[x] > クエリ:def_e2message[x]

別のキーワード

  1. _builtin to_r
  2. open3 pipeline_r
  3. matrix elements_to_r
  4. forwardable def_delegator
  5. forwardable def_delegators

ライブラリ

モジュール

検索結果

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

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

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

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

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

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

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

Exception2MessageMapper.def_e2message(klass, exception_class, message_format) -> Class (24401.0)

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

...exception_class に、
エラーメッセージ用フォーマット message_format を関連づけます。

@param klass 一階層上となるクラス名を指定します。

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

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

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