Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PublicSuffix::List is no longer enumerable
Although the list is still a collection of rules, the idea is that the internal list representation is shifting away from a simple collection, and looping over rules is not only discouraged but it may actually be impossible in the future. Moreover, including Enumerable will introduce a bunch of methods. Instead, if you really need to iterate over the collection, simply use #each that returns an Enumerator.
- Loading branch information
Showing
3 changed files
with
2 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters