method
delete

delete(key)
public
Hide source
# File activesupport/lib/active_support/ordered_hash.rb, line 22 def delete(key) pair = assoc(key) pair ? array_index = index(pair) : nil array_index ? delete_at(array_index).last : nil end