Sha256: 6fcfbcd1434b0da65527e134ecdb8b6c22e8b4195ba197b79498ebc481a4cf11
Contents?: true
Size: 451 Bytes
Versions: 51
Compression:
Stored size: 451 Bytes
Contents
module Bunny # Unifies Ruby standard library's Timeout (which is not accurate on # Ruby 1.8) and SystemTimer (the gem) Timeout = if RUBY_VERSION < "1.9" begin require "bunny/system_timer" Bunny::SystemTimer rescue LoadError Timeout end else Timeout end # Backwards compatibility # @private Timer = Timeout end
Version data entries
51 entries across 51 versions & 1 rubygems