gistlib
other ruby categories
iteration code snippets in ruby
count instances of an element inside an array in ruby
count words in array in ruby
create a loop in ruby
find all the strings matching ‘tony’ in an array of strings, then return how many there are. if there are none then return nil in ruby
find the average of all nodes in a linked list in ruby
find the mode of all nodes in a linked list in ruby
find the standard deviation of all keys in a map in ruby
how to calculate prime numebrs in ruby
iterate an array of strings with index in ruby
iterate over a list in ruby
iterate over an array of strings with index using the map function in ruby
iterate through json variables in ruby
gistlib
by LogSnag