Method: Net::DNS::MDNS::Cache#cache_question
- Defined in:
- lib/net/dns/mdns.rb
#cache_question(name, type) ⇒ Object
Cache question. Increase the number of times we’ve seen it.
328 329 330 331 332 333 |
# File 'lib/net/dns/mdns.rb', line 328 def cache_question(name, type) if qu = @asked[name][type] qu.update end qu end |