76件ヒット
[1-76件を表示]
(0.155秒)
種類
- 特異メソッド (41)
- インスタンスメソッド (35)
ライブラリ
- csv (11)
- e2mmap (36)
-
rubygems
/ command (11) - sync (18)
クラス
- CSV (11)
-
Gem
:: Command (11) -
Sync
_ m :: Err (6) -
Sync
_ m :: LockModeFailer (6) -
Sync
_ m :: UnknownLocker (6)
モジュール
キーワード
- Raise (12)
- fail (6)
- new (11)
-
show
_ lookup _ failure (11)
検索結果
先頭5件
-
Exception2MessageMapper
# Fail(exception _ class = nil , *rest) -> () (24401.0) -
登録されている情報を使用して、例外を発生させます。
...@param exception_class 例外クラス。
@param rest メッセージに埋め込む値。
@raise Exception2MessageMapper::ErrNotRegisteredException 指定された例外クラスに対応するメッセージが存在しない場合に発生します。
例:
class Foo
extend Exception2Me......pper
p def_exception :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.Rai......se Foo::NewExceptionClass, 1, 3, 5 #=> in `Raise': message...1, 3 and 5 (Foo::NewExceptionClass)
# という例外が発生します。... -
Exception2MessageMapper
. Fail(klass = E2MM , exception _ class = nil , *rest) -> () (24401.0) -
登録されている情報を使用して、例外を発生させます。
...て、例外を発生させます。
@param klass 一階層上となるクラス名を指定します。
@param exception_class 例外クラス。
@param rest メッセージに埋め込む値。
@raise Exception2MessageMapper::ErrNotRegisteredException 指定された例外クラスに対応す... -
Sync
_ m :: LockModeFailer . Fail(*options) -> () (24301.0) -
自身に定義されているメッセージをセットして例外を発生させます。
自身に定義されているメッセージをセットして例外を発生させます。 -
Sync
_ m :: Err . Fail(*options) -> () (21301.0) -
自身に定義されているメッセージをセットして例外を発生させます。
自身に定義されているメッセージをセットして例外を発生させます。 -
Sync
_ m :: UnknownLocker . Fail(*options) -> () (21301.0) -
自身に定義されているメッセージをセットして例外を発生させます。
自身に定義されているメッセージをセットして例外を発生させます。 -
Exception2MessageMapper
# fail(exception _ class = nil , *rest) -> () (12401.0) -
登録されている情報を使用して、例外を発生させます。
...録されている情報を使用して、例外を発生させます。
@param exception_class 例外クラス。
@param rest メッセージに埋め込む値。
@raise Exception2MessageMapper::ErrNotRegisteredException 指定された例外クラスに対応するメッセージが存在しな... -
Gem
:: Command # show _ lookup _ failure(gem _ name , version , errors = nil) -> () (12400.0) -
Gem が見つからなかった場合、メッセージを表示するために使用するメソッドです。
...た場合、メッセージを表示するために使用するメソッドです。
@param gem_name Gem の名前を指定します。
@param version Gem のバージョンを指定します。
@param errors Gem が見つからなかった理由を表すオブジェクトを格納した配列を... -
Exception2MessageMapper
# Raise(exception _ class = nil , *rest) -> () (12301.0) -
登録されている情報を使用して、例外を発生させます。
...@param exception_class 例外クラス。
@param rest メッセージに埋め込む値。
@raise Exception2MessageMapper::ErrNotRegisteredException 指定された例外クラスに対応するメッセージが存在しない場合に発生します。
例:
class Foo
extend Exception2Me......pper
p def_exception :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.Rai......se Foo::NewExceptionClass, 1, 3, 5 #=> in `Raise': message...1, 3 and 5 (Foo::NewExceptionClass)
# という例外が発生します。... -
Exception2MessageMapper
. Raise(klass = E2MM , exception _ class = nil , *rest) -> () (12301.0) -
登録されている情報を使用して、例外を発生させます。
...て、例外を発生させます。
@param klass 一階層上となるクラス名を指定します。
@param exception_class 例外クラス。
@param rest メッセージに埋め込む値。
@raise Exception2MessageMapper::ErrNotRegisteredException 指定された例外クラスに対応す... -
Exception2MessageMapper
# def _ e2message(exception _ class , message _ format) -> Class (6306.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 (270.0) -
このメソッドは CSV ファイルを読み込んだり、書き出したりするために String か IO のインスタンスをラップします。
...読み込んだり、書き出したりするために
String か IO のインスタンスをラップします。
ラップされた文字列の先頭から読み込むことになります。
文字列に追記したい場合は CSV.generate を使用してください。
他の位置から処理......or the stream is 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-e......first line 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...