Method: Parser::Ruby27#_reduce_319

Defined in:
lib/parser/ruby27.rb

#_reduce_319(val, _values, result) ⇒ Object

[View source]

9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
# File 'lib/parser/ruby27.rb', line 9532

def _reduce_319(val, _values, result)
                      lambda_call = @builder.call_lambda(val[0])

                      args, (begin_t, body, end_t) = val[2]
                      result      = @builder.block(lambda_call,
                                      begin_t, args, body, end_t)

                      @context.in_lambda = val[1].in_lambda

    result
end