Skip to content

Commit a4d7a75

Browse files
authored
Merge pull request #845 from ahorek/delegate_args
Ruby 2.7+: delegate kwags explicitely
2 parents 63677d7 + 6a2f9ac commit a4d7a75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -531,8 +531,8 @@ def default_executor
531531
module FunctionShortcuts
532532
# Optionally included shortcut method for {Functions#spawn_actor}
533533
# @return [Pid]
534-
def spawn(*args, &body)
535-
spawn_actor(*args, &body)
534+
def spawn(*args, **kwargs, &body)
535+
spawn_actor(*args, **kwargs, &body)
536536
end
537537

538538
# Optionally included shortcut method for {Functions#terminate_actor}

0 commit comments

Comments
 (0)