Method: Sequel::SingleConnectionPool#size
- Defined in:
- lib/sequel/connection_pool/single.rb
#size ⇒ Object
The SingleConnectionPool always has a size of 1 if connected and 0 if not.
40 41 42 |
# File 'lib/sequel/connection_pool/single.rb', line 40 def size @conn ? 1 : 0 end |