Class: Cane::AbcCheck::InvalidAst

Inherits:
Struct
  • Object
show all
Defined in:
lib/cane/abc_check.rb

Overview

Null object for when the file cannot be parsed.

Instance Method Summary collapse

Instance Method Details

#violationsObject



32
33
34
# File 'lib/cane/abc_check.rb', line 32

def violations
  [SyntaxViolation.new(file_name)]
end