check_fragment(v) private

No documentation

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

Hide source
# File lib/uri/generic.rb, line 565
    def check_fragment(v)
      return v unless v

      if v && v != '' && @parser.regexp[:FRAGMENT] !~ v
        raise InvalidComponentError, 
          "bad component(expected fragment component): #{v}"
      end

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