vendor/bundle/ruby/2.7.0/gems/dnsruby-1.61.5/lib/dnsruby/key_cache.rb
#:nodoc: all
#  Cache includes expiration time for keys
#  Cache removes expired records
:nodoc: all
Cache includes expiration time for keys
Cache removes expired records
: nodoc : all Cache includes expiration time for keys Cache removes expired records
def remove_expired_keys
      @keys.delete_if {|k,v|
        v[0] < Time.now.to_i
      }
    end
def remove_expired_keys @keys . delete_if { | k , v | v [ 0 ] < Time . now . to_i } end
:nodoc: all
Cache includes expiration time for keys
Cache removes expired records
: nodoc : all Cache includes expiration time for keys Cache removes expired records