Class: Barely::Base
- Inherits:
-
Object
- Object
- Barely::Base
- Defined in:
- lib/barely.rb
Instance Attribute Summary collapse
-
#connection_pool ⇒ Object
Returns the value of attribute connection_pool.
Instance Method Summary collapse
- #connection ⇒ Object
-
#initialize ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize ⇒ Base
Returns a new instance of Base.
132 133 134 |
# File 'lib/barely.rb', line 132 def initialize @connection_pool = ConnectionPool.new end |
Instance Attribute Details
#connection_pool ⇒ Object
Returns the value of attribute connection_pool.
130 131 132 |
# File 'lib/barely.rb', line 130 def connection_pool @connection_pool end |
Instance Method Details
#connection ⇒ Object
136 137 138 |
# File 'lib/barely.rb', line 136 def connection connection_pool.connection end |