gistlib
other ruby categories
hash code snippets in ruby
add a key-value pair to a map in ruby
append to a json file in ruby
combine two maps in ruby
create a blake2b hash from a string in ruby
create a md5 hash from a string in ruby
create a sha256 hash from a string in ruby
create a sha512 hash from a string in ruby
create an dictionary with every book of the bible in it where the key is all lowercase and the value is capitalized in ruby
find the average of all keys in a map in ruby
find the average of all values in a map in ruby
find the difference of two maps in ruby
find the intersection of two maps in ruby
find the key associated with a value in a map in ruby
find the keys of a map in ruby
find the kth least frequent element in an array in ruby
find the kth most frequent element in an array in ruby
find the largest key in a map in ruby
find the median of all values in a map in ruby
find the mode of all elements in an array in ruby
find the mode of all keys in a map in ruby
find the mode of all nodes in a linked list in ruby
find the mode of all values in a map in ruby
find the range of all values in a map in ruby
find the smallest key in a map in ruby
find the smallest value in a map in ruby
find the sum of all keys in a map in ruby
find the symmetric difference of two maps in ruby
find the union of two maps in ruby
find the value associated with a key in a map in ruby
find the values of a map in ruby
find the variance of all keys in a map in ruby
find the variance of all values in a map in ruby
remove a key-value pair from a map in ruby
split a map into two maps in ruby
gistlib
by LogSnag