Module: Resolv::DNS::Label

Defined in:
lib/logmerge/resolv.rb

Defined Under Namespace

Classes: Str

Class Method Summary collapse

Class Method Details

.split(arg) ⇒ Object



933
934
935
936
937
# File 'lib/logmerge/resolv.rb', line 933

def self.split(arg)
  labels = []
  arg.scan(/[^\.]+/) {labels << Str.new($&)}
  return labels
end