Class: Spoom::Sorbet::Errors::ParseResult
- Inherits:
-
Object
- Object
- Spoom::Sorbet::Errors::ParseResult
- Defined in:
- lib/spoom/sorbet/errors.rb
Instance Attribute Summary collapse
- #errors ⇒ Object readonly
- #warnings ⇒ Object readonly
Instance Method Summary collapse
-
#initialize(errors, warnings) ⇒ ParseResult
constructor
A new instance of ParseResult.
Constructor Details
#initialize(errors, warnings) ⇒ ParseResult
Returns a new instance of ParseResult.
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)
242 243 244 |
# File 'lib/spoom/sorbet/errors.rb', line 242 def errors @errors end |
#warnings ⇒ Object (readonly)
245 246 247 |
# File 'lib/spoom/sorbet/errors.rb', line 245 def warnings @warnings end |