るりまサーチ

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

別のキーワード

  1. cgi form
  2. cgi/html form
  3. htmlextension form
  4. cgi multipart_form
  5. cgi/html multipart_form

ライブラリ

キーワード

検索結果

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

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

...ーマット message_format を関連づけます。

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

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

@param message_format メッセージのフ...

Exception2MessageMapper#def_exception(exception_name, message_format, superclass = StandardError) -> Class (102.0)

exception_name という名前の例外クラスを定義します。

...外クラスを定義します。

@param exception_name 定義する例外クラスの名前をシンボルで指定します。

@param message_format メッセージのフォーマット。

@param superclass 定義する例外のスーパークラスを指定します。
省略...