Parent

Methods

String

Public Instance Methods

to_list() click to toggle source

Helper method for cleaning list options. This will split the option on ‘:’ or ‘;’ if it is a string, rather than an array. And it will make sure there are no nil elements.

# File lib/syckle/core_ext.rb, line 37
def to_list
  split(/[:;,\n]/)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.