vendor/bundle/ruby/2.7.0/gems/dnsruby-1.61.5/lib/dnsruby/recursor.rb
# :nodoc: all
#  Like an array, but stores the expiration of each record.
:nodoc: all
Like an array, but stores the expiration of each record.
: nodoc : all Like an array but stores the expiration of each record .
def push(item)
        address, ttl = item
        expiration = Time.now + ttl
        @mutex.synchronize {
          @hash[address] = expiration
        }
      end
def push ( item ) address , ttl = item expiration = Time . now + ttl @mutex . synchronize { @hash [ address ] = expiration } end
:nodoc: all
Like an array, but stores the expiration of each record.
: nodoc : all Like an array but stores the expiration of each record .
item
<not_specific>