Class: Packwerk::Parsers::Ruby::RaiseExceptionsParser
- Inherits:
-
Prism::Translation::Parser
- Object
- Prism::Translation::Parser
- Packwerk::Parsers::Ruby::RaiseExceptionsParser
- Extended by:
- T::Sig
- Defined in:
- lib/packwerk/parsers/ruby.rb
Instance Method Summary collapse
-
#initialize(builder) ⇒ RaiseExceptionsParser
constructor
A new instance of RaiseExceptionsParser.
Constructor Details
#initialize(builder) ⇒ RaiseExceptionsParser
Returns a new instance of RaiseExceptionsParser.
18 19 20 21 |
# File 'lib/packwerk/parsers/ruby.rb', line 18 def initialize(builder) super(builder) super.diagnostics.all_errors_are_fatal = true end |