diff --git a/lib/public_suffix/rule.rb b/lib/public_suffix/rule.rb index 31d8daa..23696f3 100644 --- a/lib/public_suffix/rule.rb +++ b/lib/public_suffix/rule.rb @@ -230,7 +230,7 @@ def self.build(content, private: false) # @param length [Integer] # @param private [Boolean] def initialize(value:, length: nil, private: false) - super(value: value, length: length, private: private) + super length or @length += 1 # * counts as 1 end