Fun with keyword arguments, hashes, and splats
Can you use old-style =>
hash syntax with keyword arguments, so you don’t have to change all your old code? How do you mix hash arguments and keyword arguments together? And is there a way to convert keyword arguments to a hash, the same way *args converts regular arguments to an array?
Post a comment