@deprecated Use the Checking API or the `check` command instead
# File lib/nanoc/extra/validators/w3c.rb, line 12 def run args = [] types = @types.dup args << 'html' if types.delete(:html) args << 'css' if types.delete(:css) unless types.empty? raise Nanoc::Errors::GenericTrivial, "unknown type(s) specified: #{types.join(', ')}" end Nanoc::CLI.run([ 'check', args ].flatten) end
Generated with the Darkfish Rdoc Generator 2.