_reduce_370 (RubyParser)

    # File lib/ruby_parser.rb, line 4858
    def _reduce_370(val, _values, result)
                          klasses, var, body, rest = val[1], val[2], val[4], val[5]

                          klasses ||= s(:array)
                          klasses << node_assign(var, s(:gvar, "$!""$!")) if var

                          result = s(:resbody, klasses, body)
                          result << rest if rest # UGH, rewritten above

        result
    end