Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/sow/core_ext.rb

Overview

ARE THESE NEEDED? require ‘facets/yaml’ # for to_yamlfrag require ‘facets/string/snakecase’ require ‘facets/string/camelcase’ require ‘sow/openext’

Instance Method Summary collapse

Instance Method Details

#to_listObject



28
29
30
# File 'lib/sow/core_ext.rb', line 28

def to_list
  split(/[:;\n]/).collect{ |e| e.strip }
end