instance method
delete
Ruby on Rails 3.2.22.5
Since v3.2.22.5 Last seen in v3.2.22.5Signature
delete(key)
No documentation comment.
Parameters
-
keyreq
Source
# File activesupport/lib/active_support/ordered_hash.rb, line 108
def delete(key)
if has_key? key
index = @keys.index(key)
@keys.delete_at index
end
super
end
Defined in activesupport/lib/active_support/ordered_hash.rb line 108
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::OrderedHash