Skip to content
Sections
>> Trisquel >> パッケージ >> nabia >> ruby >> ruby-retryable
etiona  ] [  nabia  ] [  aramo  ]
[ ソース: ruby-retryable  ]

パッケージ: ruby-retryable (2.0.4-1)

module that allows one to retry a code block

Runs a code block, and retries it when an exception occurs. It's great when working with flakey webservices (for example).

It's configured using four optional parameters :tries, :on, :sleep, :matching, :ensure, :exception_cb and runs the passed block. Should an exception occur, it'll retry for (n-1) times.

Should the number of retries be reached without success, the last exception will be raised.

その他の ruby-retryable 関連パッケージ

  • 依存
  • 推奨
  • 提案
  • dep: ruby
    Interpreter of object-oriented scripting language Ruby (default version)
    または ruby-interpreter
    パッケージは利用できません

ruby-retryable のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 6.9 kB28 kB [ファイル一覧]