lib/nanoc/extra/validators/w3c.rb in nanoc-3.7.4 vs lib/nanoc/extra/validators/w3c.rb in nanoc-3.7.5

- old
+ new

@@ -1,12 +1,10 @@ # encoding: utf-8 module Nanoc::Extra::Validators - # @deprecated Use the Checking API or the `check` command instead class W3C - def initialize(dir, types) @dir = dir @types = types end @@ -19,9 +17,7 @@ raise Nanoc::Errors::GenericTrivial, "unknown type(s) specified: #{types.join(', ')}" end Nanoc::CLI.run(['check', args].flatten) end - end - end