Hash Ruby

h = Hash.new("nope")
p h[1]                                           # => "nope"
p h['do you have this string?']                   # => "nope"