Actions
Bug #7663
closedUnable to invoke a method with `**kwargs` if the receiver doesn't define keyword arguments
Bug #7663:
Unable to invoke a method with `**kwargs` if the receiver doesn't define keyword arguments
Description
This works:
def hello
puts "hello"
end
hello(*[])
This does not:
def hello
puts "hello"
end
hello(**{})
I may be misunderstanding the idea behind the keyword arguments, but I would expect them to behave similarly to regular arguments when used with splat.
Actions