module ExceptionHelper::Retry

Public Class Methods

logger() click to toggle source

always return the null logger

# File lib/exception_helper/retry.rb, line 13
def self.logger
  Log4r::Logger.root
end

Public Instance Methods

retry_on_failure(*exception_list, &block) click to toggle source
# File lib/exception_helper/retry.rb, line 19
def retry_on_failure(*exception_list, &block)
  self.class.retry_on_failure(*exception_list, &block)
end
wrap_with_retry(*methods) click to toggle source
# File lib/exception_helper/retry.rb, line 23
def wrap_with_retry(*methods)
  self.class.wrap_with_retry(*methods)
end