Top Level Namespace
Defined Under Namespace
Classes: Split_Lines
Instance Method Summary collapse
-
#Split_Lines(str) ⇒ Object
class Split_Lines.
Instance Method Details
#Split_Lines(str) ⇒ Object
class Split_Lines
7 8 9 10 11 12 13 |
# File 'lib/Split_Lines.rb', line 7 def Split_Lines str str.split( Split_Lines::Separator ).map { |str| s = str.strip next if s.empty? s }.compact end |