Tag: Arrays
nested-collections
Metadata 2022-06-04 18:50 | nested-collections | Doriel Rivalet Content use #dig to about errors when indexing arrays/hashes This first example uses the second optional argument for the default value....
recursion
Metadata 2022-06-14 20:08 | recursion | Doriel Rivalet Content But Yea another way that can help by knowing when to use sets or arrays, arrays that have non numerical keys are literally called dictionaries in certain other langs....
ruby-arrays
Metadata 2022-05-26 20:38 arrays Content shovel operator << #shift and #unshift first elements pop and push last elements 1 num_array....