Ruby: delete hash element

Example: