method
shift
v2.3.8 -
Show latest stable
- Class:
ActiveSupport::OrderedHash
shift()public
No documentation available.
# File activesupport/lib/active_support/ordered_hash.rb, line 126
def shift
k = @keys.first
v = delete(k)
[k, v]
end