Sha256: 470feccb40b95189f28d25caf74e496db2c40ae1df578b8af989b40d37ddb0a6
Contents?: true
Size: 537 Bytes
Versions: 11
Compression:
Stored size: 537 Bytes
Contents
# encoding: utf-8 module Nanoc::Extra::Validators # @deprecated Use the Checking API or the `check` command instead class Links def initialize(dir, index_filenames, params={}) @include_internal = params.has_key?(:internal) && params[:internal] @include_external = params.has_key?(:external) && params[:external] end def run checks = [] checks << 'ilinks' if options[:internal] checks << 'elinks' if options[:external] Nanoc::CLI.run [ 'check', checks ].flatten end end end
Version data entries
11 entries across 11 versions & 1 rubygems