Class: Nitpick::RescueNitpicker

Class | Nitpick::RescueNitpicker
In: | lib/nitpick/rescue_nitpicker.rb
Parent: | Nitpicker

### Methods

process_resbody

### Public Instance methods

process_resbody(exp)

[Source]

    # File lib/nitpick/rescue_nitpicker.rb, line 3
        def process_resbody(exp)
          exceptions = exp.shift
          rescue_value = exp.shift

          scan_for [Warnings::RescueValue, Warnings::RescueEverything],
               :with => [exceptions, rescue_value]

          exp.clear

          s(:resbody, exceptions, rescue_value)
        end

[Validate]