Module: Resolv::DNS::Label

Defined in:
lib/logstash/patches/resolv_9270.rb

Overview

:nodoc:

Defined Under Namespace

Classes: Str

Class Method Summary collapse

Class Method Details

.split(arg) ⇒ Object



1212
1213
1214
1215
1216
# File 'lib/logstash/patches/resolv_9270.rb', line 1212

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