# File rss/utils.rb, line 129 def parse(value) if [true, false, nil].include?(value) value else case value.to_s when /\Aexplicit|yes|true\z/i true when /\Aclean|no|false\z/i false else nil end end end
This page was generated for Ruby 2.6
Ruby-doc.org is a service of James Britt and Neurogami, an erratic source of art, music, and technology.
Generated with Ruby-doc Rdoc Generator 0.44.0.