class Domain::BadFile

Represents a file with style errors.

Attributes

errors[R]
name[R]

Public Class Methods

new(name, errors) click to toggle source

Instanciate a default bad file.

@param [String] The File name @param [Array] The errors

# File lib/plugins/pre_commit/domain/bad_file.rb, line 13
def initialize(name, errors)
  @name = name
  @errors = errors
end