Class: MailResolver::Testing::LocalNameserver::LocalResolver

Inherits:
Resolver
  • Object
show all
Defined in:
lib/mailresolver/testing.rb

Overview

Resolver#options is where a nameserver would be configured if the gem took one; overriding it keeps that off the public API.

Constant Summary

Constants inherited from Resolver

Resolver::TIMEOUTS

Instance Method Summary collapse

Methods inherited from Resolver

#a, #aaaa, #addresses, #cname, #mx, #ptr, #txt

Constructor Details

#initialize(port, **options) ⇒ LocalResolver

Returns a new instance of LocalResolver.



140
141
142
143
# File 'lib/mailresolver/testing.rb', line 140

def initialize(port, **options)
  super(**options)
  @port = port
end