parse(value) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rss/utils.rb, line 41
      def parse(value)
        if [true, false, nil].include?(value)
          value
        else
          case value.to_s
          when /\Ayes\z/
            true
          when /\Aclean\z/
            false
          else
            nil
          end
        end
      end
Register or log in to add new notes.