Class: DnsOne::Backend::File
Instance Method Summary collapse
- #allow_cache ⇒ Object
- #find(dom_name) ⇒ Object
-
#initialize(file) ⇒ File
constructor
A new instance of File.
Methods inherited from Base
Constructor Details
#initialize(file) ⇒ File
Returns a new instance of File.
4 5 6 7 |
# File 'lib/dns_one/backend/file.rb', line 4 def initialize file @domain_map = {} load file end |