Object
@deprecated Use the Checking API or the `check` command instead
# File lib/nanoc/extra/validators/links.rb, line 7 def initialize(dir, index_filenames, params={}) @include_internal = params.has_key?(:internal) && params[:internal] @include_external = params.has_key?(:external) && params[:external] end
# File lib/nanoc/extra/validators/links.rb, line 12 def run checks = [] checks << 'ilinks' if options[:internal] checks << 'elinks' if options[:external] Nanoc::CLI.run [ 'check', checks ].flatten end
[Validate]
Generated with the Darkfish Rdoc Generator 2.