Class: HTMLProofer::UrlValidator
- Inherits:
-
Object
- Object
- HTMLProofer::UrlValidator
- Includes:
- Utils
- Defined in:
- lib/html_proofer/url_validator.rb,
lib/html_proofer/url_validator/external.rb,
lib/html_proofer/url_validator/internal.rb
Defined Under Namespace
Instance Method Summary collapse
-
#initialize(runner) ⇒ UrlValidator
constructor
A new instance of UrlValidator.
Methods included from Utils
#blank?, #create_nokogiri, #pluralize
Constructor Details
#initialize(runner) ⇒ UrlValidator
Returns a new instance of UrlValidator.
7 8 9 10 11 12 13 14 |
# File 'lib/html_proofer/url_validator.rb', line 7 def initialize(runner) @runner = runner @cache = @runner.cache @logger = @runner.logger @failed_checks = [] end |