Module
Instance Methods
lib/rss/utils.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/rss/utils.rb, line 130
def parse(value)
if [true, false, nil].include?(value)
value
else
case value.to_s
when /\Ayes\z/i
true
when /\Aclean\z/i
false
else
nil
end
end
end
No documentation available