class Addressable::URI
def normalized_scheme
-
(String)
- The scheme component, normalized.
def normalized_scheme self.scheme && @normalized_scheme ||= (begin if self.scheme =~ /^\s*ssh\+svn\s*$/i "svn+ssh" else Addressable::URI.normalize_component( self.scheme.strip.downcase, Addressable::URI::CharacterClasses::SCHEME ) end end) end