method
parse
parse(value)
public
Hide source
# File lib/rss/utils.rb, line 59 def parse(value) if [true, false].include?(value) value else /\Ayes\z/i.match(value.to_s) ? true : false end end