vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.18.0/lib/rubocop/ast/node/resbody_node.rb
# Returns an array of all the exceptions in the `rescue` clause.
#
# @return [Array<Node>] an array of exception nodes
Returns an array of all the exceptions in the `rescue` clause.
Returns an array of all the exceptions in the ` rescue ` clause .
def exceptions
        exceptions_node = node_parts[0]
        if exceptions_node.nil?
          []
        elsif exceptions_node.array_type?
          exceptions_node.values
        else
          [exceptions_node]
        end
      end
def exceptions exceptions_node = node_parts [ 0 ] if exceptions_node . nil? [ ] elsif exceptions_node . array_type? exceptions_node . values else [ exceptions_node ] end end
Returns an array of all the exceptions in the `rescue` clause.
Returns an array of all the exceptions in the ` rescue ` clause .
an array of exception nodes
an array of exception nodes
Array<Node>