Flowdock
method

parse

Importance_0
v2_5_5 - Show latest stable - 0 notes - Class: ExplicitCleanOther
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 130
      def parse(value)
        if [true, false, nil].include?(value)
          value
        else
          case value.to_s
          when /\Aexplicit|yes|true\z/
            true
          when /\Aclean|no|false\z/
            false
          else
            nil
          end
        end
      end
Register or log in to add new notes.