Method: HTMLProofer::Runner#check_list_of_links
- Defined in:
- lib/html_proofer/runner.rb
permalink #check_list_of_links ⇒ Object
[View source]
66 67 68 69 70 71 72 73 74 |
# File 'lib/html_proofer/runner.rb', line 66 def check_list_of_links @external_urls = @source.uniq.each_with_object({}) do |link, hash| url = Attribute::Url.new(self, link, base_url: nil).to_s hash[url] = [] end validate_external_urls end |