How to pass arguments to methods in ruby and how it affects their arity

We had mentioned in one of our previous blog that the method definition in Ruby is extremely flexible. Let’s delve a little deeper into that statement and talk about the different type of arguments a method can take and how it affects its arity.Let’s once again use the example from Marc-André Lafortune blog.
How to pass arguments to methods in ruby and how it affects their arity #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/how-to-pass-arguments-to-methods-in-ruby-and-how-it-affects-their-arity

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles