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