Class Nanoc3::Extra::Validators::W3C
In: lib/nanoc3/extra/validators/w3c.rb
Parent: Object

A validator that uses the W3C web service to validate HTML and CSS files.

Methods

new   run  

Public Class methods

@param [String] dir The directory that will be searched for HTML and/or CSS files to validate

@param [Array<Symbol>] types A list of types to check. Allowed types are `:html` and `:css`.

Public Instance methods

Starts the validator. The results will be printed to stdout.

@return [void]

[Validate]