module RSS::Utils::CSV
Public Instance Methods
parse(value, &block)
click to toggle source
# File rss-0.3.0/lib/rss/utils.rb, line 141 def parse(value, &block) if value.is_a?(String) value = value.strip.split(/\s*,\s*/) value = value.collect(&block) if block_given? value else value end end