Method: PeerReview.list
- Defined in:
- lib/peer_review.rb
.list ⇒ Object
returns an instance of our custom public suffix list list behaves like PublicSuffix::List but is limited to our whitelisted domains
10 11 12 |
# File 'lib/peer_review.rb', line 10 def list @list ||= PublicSuffix::List::parse(File.new(list_path, "r:utf-8")) end |