Can I create a Ruby Hash from a block?
Something like this (although this specifically isn't working):
foo = Hash.new do |f| f[:apple] = "red" f[:orange] = "orange" f[:grape] = "purple" end