Methods, blocks and sorting in Ruby
04-Dec-2018 2694
My Ruby's journey continues as I keep learning the basics of the language. This time, I explore methods, blocks and sorting. Let's see if I got it right.MethodsMethods are reusable pieces of code written in order to execute a certain task. Writing methods makes your code more readable, less redondant and easier to test.
Methods, blocks and sorting in Ruby #ruby #rubydeveloper #rubyonrails #Methods, #blocks #sorting https://rubyonrails.ba/link/methods-blocks-and-sorting-in-ruby