method
single?
single?()
public
Hide source
# File lib/resolv.rb, line 894 def single? lazy_initialize if @nameserver.length == 1 return @nameserver[0] else return nil end end