Improve argument handling
This uses kwargs instead of a hash-parameter, avoiding ruby 2.7+ warnings, and also avoiding the need to index into the arguments.
Showing
Please register or sign in to comment
This uses kwargs instead of a hash-parameter, avoiding ruby 2.7+ warnings, and also avoiding the need to index into the arguments.