h = {:a=>1, :b=>2}h[:a] = nil # h now holds {:a=> nil, :b=>2 }h.include? :a # => trueh.delete :b # => 2: returns deleted value: h now holds {:a=>nil}h.include? :b # => falseh.delete :b # => nil: key not found