public Method

Generic.normalize!

Destructive version of #normalize

Source Code

# File uri/generic.rb, line 979
def normalize!
  if path && path == ''
    set_path('/')
  end
  if host && host != host.downcase
    set_host(self.host.downcase)
  end        
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.