Skip to content

Commit

Permalink
Merge pull request ruby-concurrency#845 from ahorek/delegate_args
Browse files Browse the repository at this point in the history
Ruby 2.7+: delegate kwags explicitely
  • Loading branch information
pitr-ch committed Feb 5, 2020
2 parents 63677d7 + 6a2f9ac commit a4d7a75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -531,8 +531,8 @@ def default_executor
module FunctionShortcuts
# Optionally included shortcut method for {Functions#spawn_actor}
# @return [Pid]
def spawn(*args, &body)
spawn_actor(*args, &body)
def spawn(*args, **kwargs, &body)
spawn_actor(*args, **kwargs, &body)
end

# Optionally included shortcut method for {Functions#terminate_actor}
Expand Down

0 comments on commit a4d7a75

Please sign in to comment.