instance method
remove
Ruby on Rails 7.0.10
Since v4.0.13 PrivateSignature
remove()
Removes and returns the head of the queue if possible, or nil.
Source
# File activerecord/lib/active_record/connection_adapters/abstract/connection_pool/queue.rb, line 97
def remove
@queue.pop
end
Defined in activerecord/lib/active_record/connection_adapters/abstract/connection_pool/queue.rb line 97
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::ConnectionPool::Queue