Class: RuboCop::Git::FileViolation

Inherits:
Struct
  • Object
show all
Defined in:
lib/rubocop/git/file_violation.rb

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#filenameObject

Returns the value of attribute filename

Returns:

  • (Object)

    the current value of filename



3
4
5
# File 'lib/rubocop/git/file_violation.rb', line 3

def filename
  @filename
end

#offensesObject

Returns the value of attribute offenses

Returns:

  • (Object)

    the current value of offenses



3
4
5
# File 'lib/rubocop/git/file_violation.rb', line 3

def offenses
  @offenses
end