Actions
Bug #7662
closedUnable to define a method with bare `**`
Bug #7662:
Unable to define a method with bare `**`
Description
This works:
def foo(*)
end
This does not:
def foo(**)
end
This does not:
def foo(*, **)
end
I use bare *
often in combination with bare super
to extend a superclass without being brittle to its exact signature. With keyword arguments, this seems like it will be impossible. I am opening several other related issues.
Actions