ruby-science
ruby-science copied to clipboard
Keyword arguments and Long parameter list
The chapter on long parameters list doesn't mention Ruby 2 keyword arguments. While it doesn't solve the long list problem, unlike the mentioned alternative with hashes, Ruby will show the required names in an error message due to missing parameter, and the solution wouldn't require positional knowledge.
I think it makes for a worthy addition.