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