What does a double * (splat) operator do

Have you seen a function declared like this?

def foo a, **b
  ...
end

I understand that a single * is the splat operator. What does ** mean?

3 Answers
3

Leave a Comment