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 keys
      remove_expired_keys
      ks = []
      @keys.values.each {|a| ks.push(a[1])}
      return ks
    end
def keys remove_expired_keys ks = [ ] @keys . values . each { | a | ks . push ( a [ 1 ] ) } return ks 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
#  Only offer currently-valid keys here #         return @keys.keys