Class: Packwerk::FileProcessor::UnknownFileTypeResult

Inherits:
Offense
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/packwerk/file_processor.rb

Instance Attribute Summary

Attributes inherited from Offense

#file, #location, #message

Instance Method Summary collapse

Methods inherited from Offense

#to_s

Constructor Details

#initialize(file:) ⇒ UnknownFileTypeResult

Returns a new instance of UnknownFileTypeResult.



14
15
16
# File 'lib/packwerk/file_processor.rb', line 14

def initialize(file:)
  super(file: file, message: "unknown file type")
end