class Bunny::SystemTimer

Used for ruby < 1.9.x

Public Instance Methods

timeout(seconds, exception) { || ... } click to toggle source
# File lib/bunny/system_timer.rb, line 6
def timeout(seconds, exception)
  timeout_after(seconds) do
    yield
  end
end