Class: Spoom::Sorbet::Errors::ParseResult

Inherits:
Object
  • Object
show all
Defined in:
lib/spoom/sorbet/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(errors, warnings) ⇒ ParseResult

: (Array errors, Array warnings) -> void



248
249
250
251
# File 'lib/spoom/sorbet/errors.rb', line 248

def initialize(errors, warnings)
  @errors = errors
  @warnings = warnings
end

Instance Attribute Details

#errors ⇒ Object (readonly)

: Array



242
243
244
# File 'lib/spoom/sorbet/errors.rb', line 242

def errors
  @errors
end

#warnings ⇒ Object (readonly)

: Array



245
246
247
# File 'lib/spoom/sorbet/errors.rb', line 245

def warnings
  @warnings
end