87件ヒット
[1-87件を表示]
(0.091秒)
種類
- 特異メソッド (41)
- インスタンスメソッド (35)
- 定数 (11)
ライブラリ
- csv (11)
- e2mmap (36)
-
rubygems
/ command (11) - socket (11)
- sync (18)
クラス
- CSV (11)
-
Gem
:: Command (11) -
Sync
_ m :: Err (6) -
Sync
_ m :: LockModeFailer (6) -
Sync
_ m :: UnknownLocker (6)
モジュール
- Exception2MessageMapper (36)
-
Socket
:: Constants (11)
キーワード
-
EAI
_ FAIL (11) - Raise (12)
- fail (6)
- new (11)
-
show
_ lookup _ failure (11)
検索結果
先頭5件
-
Exception2MessageMapper
# Fail(exception _ class = nil , *rest) -> () (21301.0) -
登録されている情報を使用して、例外を発生させます。
...m exception_class 例外クラス。
@param rest メッセージに埋め込む値。
@raise Exception2MessageMapper::ErrNotRegisteredException 指定された例外クラスに対応するメッセージが存在しない場合に発生します。
例:
class Foo
extend Exception2MessageM......ion :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::NewExceptionC......lass, 1, 3, 5 #=> in `Raise': message...1, 3 and 5 (Foo::NewExceptionClass)
# という例外が発生します。... -
Exception2MessageMapper
. Fail(klass = E2MM , exception _ class = nil , *rest) -> () (21301.0) -
登録されている情報を使用して、例外を発生させます。
...param klass 一階層上となるクラス名を指定します。
@param exception_class 例外クラス。
@param rest メッセージに埋め込む値。
@raise Exception2MessageMapper::ErrNotRegisteredException 指定された例外クラスに対応するメッセージが存在しない場... -
Sync
_ m :: LockModeFailer . Fail(*options) -> () (21301.0) -
自身に定義されているメッセージをセットして例外を発生させます。
自身に定義されているメッセージをセットして例外を発生させます。 -
Sync
_ m :: Err . Fail(*options) -> () (18301.0) -
自身に定義されているメッセージをセットして例外を発生させます。
自身に定義されているメッセージをセットして例外を発生させます。 -
Sync
_ m :: UnknownLocker . Fail(*options) -> () (18301.0) -
自身に定義されているメッセージをセットして例外を発生させます。
自身に定義されているメッセージをセットして例外を発生させます。 -
Exception2MessageMapper
# fail(exception _ class = nil , *rest) -> () (9301.0) -
登録されている情報を使用して、例外を発生させます。
...れている情報を使用して、例外を発生させます。
@param exception_class 例外クラス。
@param rest メッセージに埋め込む値。
@raise Exception2MessageMapper::ErrNotRegisteredException 指定された例外クラスに対応するメッセージが存在しない場... -
Socket
:: Constants :: EAI _ FAIL -> Integer (9217.0) -
Non-recoverable failure in name resolution
...Non-recoverable failure in name resolution
getaddrinfo(3), getnameinfo(3) などの
エラーコードです。
対応する Socket.getaddrinfo, Addrinfo.getaddrinfo などは
エラーを SocketError に変換するため、この定数は直接は利用しません。
@see getaddrinfo(3linux), g... -
Gem
:: Command # show _ lookup _ failure(gem _ name , version , errors = nil) -> () (6300.0) -
Gem が見つからなかった場合、メッセージを表示するために使用するメソッドです。
...場合、メッセージを表示するために使用するメソッドです。
@param gem_name Gem の名前を指定します。
@param version Gem のバージョンを指定します。
@param errors Gem が見つからなかった理由を表すオブジェクトを格納した配列を指... -
Exception2MessageMapper
# Raise(exception _ class = nil , *rest) -> () (6201.0) -
登録されている情報を使用して、例外を発生させます。
...m exception_class 例外クラス。
@param rest メッセージに埋め込む値。
@raise Exception2MessageMapper::ErrNotRegisteredException 指定された例外クラスに対応するメッセージが存在しない場合に発生します。
例:
class Foo
extend Exception2MessageM......ion :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::NewExceptionC......lass, 1, 3, 5 #=> in `Raise': message...1, 3 and 5 (Foo::NewExceptionClass)
# という例外が発生します。... -
Exception2MessageMapper
. Raise(klass = E2MM , exception _ class = nil , *rest) -> () (6201.0) -
登録されている情報を使用して、例外を発生させます。
...param klass 一階層上となるクラス名を指定します。
@param exception_class 例外クラス。
@param rest メッセージに埋め込む値。
@raise Exception2MessageMapper::ErrNotRegisteredException 指定された例外クラスに対応するメッセージが存在しない場... -
Exception2MessageMapper
# def _ e2message(exception _ class , message _ format) -> Class (3206.0) -
すでに存在する例外クラス exception_class に、 エラーメッセージ用フォーマット message_format を関連づけます。
...存在する例外クラス exception_class に、
エラーメッセージ用フォーマット message_format を関連づけます。
このフォーマットは Exception2MessageMapper#Raise,
Exception2MessageMapper#Fail で使用します。
@param exception_class メッセージを登録す......る例外クラスを指定します。
@param message_format メッセージのフォーマットを指定します。
Kernel.#sprintf のフォーマット文字列と同じ形式を使用できます。
@return exception_class を返します。... -
CSV
. new(data , options = Hash . new) -> CSV (236.0) -
このメソッドは CSV ファイルを読み込んだり、書き出したりするために String か IO のインスタンスをラップします。
...ンスタンスを指定した場合、CSV#string を使用して
後からデータを取り出すことが出来ます。
@param options CSV をパースするためのオプションをハッシュで指定します。
パフォーマンス上の理由でインスタ...... only available for output, the default
$INPUT_RECORD_SEPARATOR ($/) is used. Obviously,
discovery takes a little time. Set manually if speed is important. Also
note that IO objects should be opened in binary mode on Windows if this
feature will be used as the line-ending translation......ending beyond this
size.) If a quote cannot be found within the limit CSV will raise a
MalformedCSVError, assuming the data is faulty. You can use this limit to
prevent what are effectively DoS attacks on the parser. However, this
limit can cause a legitimate parse to fail and thus i...