Sha256: a3105799c1fdc9e4b26d66147a65d7006f05ed8fe07a87a6db402ba77455bbb2
Contents?: true
Size: 508 Bytes
Versions: 7
Compression:
Stored size: 508 Bytes
Contents
require "linter/abstract_linter" require "linter/root_manifest_linter" module Playgroundbook # A linter for verifying the contents directory of a playground book class ContentsLinter < AbstractLinter attr_accessor :root_manfiest_linter def initialize(root_manfiest_linter = RootManifestLinter.new) @root_manfiest_linter = root_manfiest_linter end def lint Dir.chdir "Contents" do root_manfiest_linter.lint # TODO: Other linting? end end end end
Version data entries
7 entries across 7 versions & 1 rubygems