Delete element from hash
myHash = { 1 => "One", 2 => "Two", 3 => "Three", 4 => "Four", 5 => "Five" } myHash.delete( 5 ) # => "Five" p myHash # => {1=>"One", 2=>"Two", 3=>"Three", 4=>"Four"}