= private = protected
new(filename = DefaultFileName)
Creates a new Resolv::Hosts, using filename for its data source.
# File lib/resolv.rb, line 178 def initialize(filename = DefaultFileName) @filename = filename @mutex = Mutex.new @initialized = nil end