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