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