urlize

A simple tool to parse a URL and get useful information out of it.

Usage

@url = Urlize.read(“www.google.com?q=hello”)

Returns you a hash of the scheme, host, and the search term.

@url # => hello

Contributing to urlize

Copyright © 2010 Bryan L. See LICENSE.txt for further details.