Class: RuboCop::Cop::Mangrove::UnhandledUnwrap
- Inherits:
-
Base
- Object
- Base
- RuboCop::Cop::Mangrove::UnhandledUnwrap
- Extended by:
- AutoCorrector
- Defined in:
- lib/rubocop/cop/mangrove/unhandled_unwrap.rb
Defined Under Namespace
Classes: Rewriter
Constant Summary collapse
- MSG =
"unwrap! is used inside method that is not rescuing ControlSignal"
Instance Method Summary collapse
Instance Method Details
#on_def(node) ⇒ Object
14 15 16 |
# File 'lib/rubocop/cop/mangrove/unhandled_unwrap.rb', line 14 def on_def(node) exam(node) end |
#on_defs(node) ⇒ Object
18 19 20 |
# File 'lib/rubocop/cop/mangrove/unhandled_unwrap.rb', line 18 def on_defs(node) exam(node) end |