Advanced Enumeration with Ruby
11-Aug-2017 2822
Enumeration by definition is “the action of mentioning a number of things one by one.” In programming, instead of mentioning, we choose any action we may want to perform, whether it simply be printing out the item to a display or performing some sort of selection and/or transformation on the item.In programming, we can perform many ways to select and process a collection at one time by chaining on each additional transformation in steps. And each step can either consume the entire collection before handing the results off to the next step, or it can be handled “lazily” and pass one or more items at a time through all the transformations.
Advanced Enumeration with Ruby #ruby #rubydeveloper #rubyonrails #Advanced #Enumeration https://rubyonrails.ba/link/advanced-enumeration-with-ruby