check_headers(v) private

No documentation

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

Hide source
# File lib/uri/mailto.rb, line 182
    def check_headers(v)
      return true unless v
      return true if v.size == 0

      if @parser.regexp[:OPAQUE] !~ v || 
          /\A(#{HEADER_PATTERN}(?:\&#{HEADER_PATTERN})*)\z/ !~ v
        raise InvalidComponentError,
          "bad component(expected opaque component): #{v}"
      end

      return true
    end
Register or log in to add new notes.