Better Know A Ruby Thing 3: Positional Arguments – Noel Rappin Writes Here

Ruby has three ways to pass information from a method call to a method definition: positional arguments, keyword arguments, and block arguments. Each of these ways has:A syntax to declare an argument of that type in a method definitionA syntax to declare an argument of that type in a method callA class that can can be used to convert arbitrary objects into and out of method calls.
Better Know A Ruby Thing 3: Positional Arguments – Noel Rappin Writes Here #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/better-know-a-ruby-thing-3-positional-arguments-noel-rappin-writes-here

Nezir Zahirovic

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

related articles