How to delete key from a hash in ruby
This is the first post on this blog so I will start with something short, easy and funny - namely Ruby. Known for its elegant syntax and dynamic typing working with hashes is both easy and intuitive. Let’s say you want to delete a key in a hash but you’re not sure the key exists. This is one way to do it:
Check the ruby doc for more info and methods