123456789_123456789_123456789_123456789_123456789_

Module: Resolv::DNS::Label

Do not use. This module is for internal use only.
Relationships & Source Files
Namespace Children
Classes:
Str
Defined in: lib/resolv.rb

Class Method Summary

Class Method Details

.split(arg)

[ GitHub ]

  
# File 'lib/resolv.rb', line 1193

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