lib/url_regexp/host.rb in url_regexp-0.1.2 vs lib/url_regexp/host.rb in url_regexp-0.1.3

- old
+ new

@@ -1,8 +1,9 @@ module UrlRegexp class Host < Node - def initialize + def initialize(options = {}) @hosts = Set.new + @options = options end def append(host) @hosts << host end