Skip to content

Commit

Permalink
updated usage with new original url thing
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldix committed Dec 31, 2009
1 parent 6b01359 commit 43bdcbf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.textile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ require 'rubygems'
require 'domainatrix'

url = Domainatrix.parse("http://www.pauldix.net")
url.url # => "http://www.pauldix.net" (the original url)
url.tld # => "net"
url.domain # => "pauldix"
url.canonical # => "net.pauldix"
Expand Down

0 comments on commit 43bdcbf

Please sign in to comment.