Delete - remove an element from a hash



examples/hashes/delete.cr
planets = {
  "Mars"    => 1,
  "Jupyter" => 2,
  "Saturn"  => 3,
  "Earth"   => 4,
}
puts planets.delete("Mars")
puts planets

1
{"Jupyter" => 2, "Saturn" => 3, "Earth" => 4}