Class: Nanoc::Checking::Checks::HTML Private

Inherits:
W3CValidator show all
Defined in:
lib/nanoc/checking/checks/html.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary

Attributes inherited from Nanoc::Checking::Check

#issues

Instance Method Summary collapse

Methods inherited from W3CValidator

#run

Methods inherited from Nanoc::Checking::Check

#add_issue, create, define, #excluded_patterns, #initialize, #output_filenames, #output_html_filenames, #run

Constructor Details

This class inherits a constructor from Nanoc::Checking::Check

Instance Method Details

#extensionObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



10
11
12
# File 'lib/nanoc/checking/checks/html.rb', line 10

def extension
  '{htm,html}'
end

#validator_classObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



14
15
16
# File 'lib/nanoc/checking/checks/html.rb', line 14

def validator_class
  ::W3CValidators::NuValidator
end