Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #18 from jayeff/patch-1

Fix slight error in documentation of #subdomain
  • Loading branch information...
commit a9a4934ec550361927b68bf567ac7b9606584d30 2 parents 46f933c + 4a36dfc
@weppos authored
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"
Please sign in to comment.
Something went wrong with that request. Please try again.