Method: Async::DNS::System::Hosts#call
- Defined in:
- lib/async/dns/system.rb
#call(name) ⇒ Object
This is used to match names against the list of known hosts:
52 53 54 |
# File 'lib/async/dns/system.rb', line 52 def call(name) @names.include?(name) end |