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