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

- old
+ new

@@ -9,13 +9,12 @@ end def to_regexp_s hosts = @hosts.map { |h| Regexp.quote(h.to_s) } if 1 < hosts.size - hosts = "(#{hosts.join('|')})" + "(#{hosts.join('|')})" else - hosts = hosts[0] + hosts[0] end - hosts end end end