Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix slight error in documentation of #subdomain #18

Merged
merged 1 commit into from

2 participants

@jayeff

Hi,
I noticed a slight error in the documention of subdomain. Already fixed it for your convenience.

Thanks for providing this gem.

@weppos weppos merged commit a9a4934 into weppos:master
@weppos
Owner

Merged. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 4, 2012
  1. @jayeff
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/public_suffix/domain.rb
View
2  lib/public_suffix/domain.rb
@@ -188,7 +188,7 @@ def domain
# # => "www.google.zip"
#
# This method returns a FQD, not just the domain part.
- # To get the domain part, use <tt>#tld</tt> (aka third level domain).
+ # To get the subdomain part, use <tt>#trd</tt> (aka third level domain).
#
# PublicSuffix::Domain.new("com", "google", "www").subdomain
# # => "www.google.com"
Something went wrong with that request. Please try again.