Method: Parser::Ruby34#_reduce_350

Defined in:
lib/parser/ruby34.rb

#_reduce_350(val, _values, result) ⇒ Object

[View source]

10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
# File 'lib/parser/ruby34.rb', line 10281

def _reduce_350(val, _values, result)
                      def_t, (name_t, ctx) = val[0]
                      result = @builder.def_method(def_t, name_t, val[1],
                                  val[2], val[3])

                      local_pop
                      @current_arg_stack.pop
                      @context.in_def = ctx.in_def

    result
end