Module: SecondBase::Forced
- Defined in:
- lib/second_base/forced.rb
Instance Method Summary collapse
- #connected? ⇒ Boolean
- #connection_pool ⇒ Object
- #remove_connection(klass = self) ⇒ Object
- #retrieve_connection ⇒ Object
Instance Method Details
#connected? ⇒ Boolean
12 13 14 |
# File 'lib/second_base/forced.rb', line 12 def connected? SecondBase::Base.connected? end |
#connection_pool ⇒ Object
4 5 6 |
# File 'lib/second_base/forced.rb', line 4 def connection_pool SecondBase::Base.connection_pool end |
#remove_connection(klass = self) ⇒ Object
16 17 18 |
# File 'lib/second_base/forced.rb', line 16 def remove_connection(klass = self) SecondBase::Base.remove_connection end |
#retrieve_connection ⇒ Object
8 9 10 |
# File 'lib/second_base/forced.rb', line 8 def retrieve_connection SecondBase::Base.retrieve_connection end |