Flowdock
method

convert_to_uri

Importance_0
Ruby latest stable (v1_9_3_392) - 0 notes - Class: Parser
convert_to_uri(uri) private

No documentation

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

Hide source
# File lib/uri/common.rb, line 531
    def convert_to_uri(uri)
      if uri.is_a?(URI::Generic)
        uri
      elsif uri = String.try_convert(uri)
        parse(uri)
      else
        raise ArgumentError,
          "bad argument (expected URI object or URI string)"
      end
    end
Register or log in to add new notes.