Skip to content

Commit

Permalink
delegate kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
ahorek committed Feb 2, 2020
1 parent 63677d7 commit 6a2f9ac
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 6a2f9ac

Please sign in to comment.