how to acess key in dictionary ruby code example Example: how to access hash value ruby my_hash["key"] #=> "value"