Sha256: 39520c01a9679dc5705dd779a9faba4a3aa78ef19367e9a51dd61964b1d84f46

Contents?: true

Size: 355 Bytes

Versions: 1

Compression:

Stored size: 355 Bytes

Contents

# frozen_string_literal: true

module Domain
  ##
  # Represents a file with style errors.
  #
  class BadFile
    attr_reader :name, :errors

    ##
    # Instanciate a default bad file.
    #
    # @param [String] The File name
    # @param [Array] The errors
    def initialize(name, errors)
      @name = name
      @errors = errors
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
java-checkstyle-precommit-1.0.0 lib/plugins/pre_commit/domain/bad_file.rb