parse_uri(uri) public

No documentation

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

Hide source
# File lib/drb/ssl.rb, line 112
    def self.parse_uri(uri)
      if uri =~ /^drbssl:\/\/(.*?):(\d+)(\?(.*))?$/
        host = $1
        port = $2.to_i
        option = $4
        [host, port, option]
      else
        raise(DRbBadScheme, uri) unless uri =~ /^drbssl:/
        raise(DRbBadURI, 'can\'t parse uri:' + uri)
      end
    end
Register or log in to add new notes.