instance method
remove
Ruby on Rails 6.1.7.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.rb, line 181
def remove
@queue.pop
end
Defined in activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb line 181
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::ConnectionPool::Queue