Module: RRs::Label
- Defined in:
- lib/rrs/label.rb
Overview
:nodoc:
Defined Under Namespace
Classes: Str
Class Method Summary collapse
Class Method Details
.split(arg) ⇒ Object
3 4 5 6 7 |
# File 'lib/rrs/label.rb', line 3 def self.split(arg) labels = [] arg.scan(/[^\.]+/) {labels << Str.new($&)} return labels end |