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