Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/codewars_api.rb

Instance Method Summary collapse

Instance Method Details

#delete!(key) ⇒ Object


13
14
15
16
# File 'lib/codewars_api.rb', line 13

def delete!(key)
  fetch(key)
  delete(key)
end