Exploring Method Arguments in Ruby: Part 1
02-Apr-2020 1455
Ruby is an object oriented language where everything is an object (even methods are objects of the class Method!), so everything we need to do is done by calling methods on objects. That also means that methods have to provide a lot of flexibility because they are used everywhere.Ruby provides a lot of options to pass arguments to our methods, so we'll make this topic a series so it's not too long. We'll split the options into different categories and then break down everything with some examples and/or use cases.
Exploring Method Arguments in Ruby: Part 1 #ruby #rubydeveloper #rubyonrails #Exploring #Method #Arguments #Ruby: https://www.rubyonrails.ba/link/exploring-method-arguments-in-ruby-part-1