Class: MailResolver::Testing::LocalNameserver::LocalResolver
- 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
Instance Method Summary collapse
-
#initialize(port, **options) ⇒ LocalResolver
constructor
A new instance of LocalResolver.
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, **) super(**) @port = port end |