You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: