Sha256: 7b5698bc3fd122635835f4a0ad4e23ba4238222ab457f9ef17e7c9746b839854

Contents?: true

Size: 473 Bytes

Versions: 1

Compression:

Stored size: 473 Bytes

Contents

require 'playground_book_lint/abstract_linter'
require 'playground_book_lint/root_manifest_linter'

module PlaygroundBookLint
  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

1 entries across 1 versions & 1 rubygems

Version Path
playground-book-lint-0.0.1 lib/playground_book_lint/contents_linter.rb