weppos / publicsuffix-ruby

Domain name parser for Ruby based on the Public Suffix List.
https://simonecarletti.com/code/publicsuffix
MIT License
620 stars 109 forks source link

How to get PublicSuffix 1.0 behavior #117

Closed dentarg closed 8 years ago

dentarg commented 8 years ago

In https://github.com/weppos/publicsuffix-ruby/issues/110 I noticed the line

You can enforce the library to ignore not assigned suffixes by passing a nil default_rule.

before I saw this I thought I had to do default_rule: PublicSuffix::Rule.factory("!*"), so I think it would be good to document this.

weppos commented 8 years ago

Thanks 👍