Methods: Different Types of Method arguments in Ruby and how to use them is Missing
Checks
- [x] This is not a duplicate of an existing issue (please have a look through our open issues list to make sure)
- [x] I have thoroughly read and understand The Odin Project Contributing Guide
- [ ] Would you like to work on this issue?
Describe your suggestion
In the ruby methods lesson only two method arguments are discussed: Required arguments and optional arguments. It doesn't discuss anything about the variable and keyword arguments and i think these arguments are also worth mentioning in the lessons even though we might not use them as often as we use the required and optional arguments. I think this article does a very nice job in explaining all the types of method arguments. i hope the maintainers will consider adding this to the method lesson https://www.rubyguides.com/2018/06/rubys-method-arguments/
Path
Ruby / Rails
Lesson Url
https://www.theodinproject.com/lessons/ruby-methods
(Optional) Discord Name
Htmx
(Optional) Additional Comments
No response
Thanks @NewDev2005. It's like you said, they aren't things you use as often. We intentionally leave a lot of things out to keep lessons focused on whats practical.
That said, I thought we were covering keyword args somewhere. Either way, think this is a good resource that could be added to the Additional Resources section of that lesson.
@KevinMulhern Alrighty!
looks like an easy one, i can squash this!
@mathdebate09 thanks! All yours!