Module
Instance Methods
lib/rss/utils.rb
View on GitHub
# File tmp/rubies/ruby-2.7.6/lib/rss/utils.rb, line 159
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
No documentation available