method
split
split(arg)
public
Hide source
# File lib/resolv.rb, line 1188 def self.split(arg) labels = [] arg.scan(/[^\.]+/) {labels << Str.new($&)} return labels end