Module: SecondBase::Forced

Defined in:
lib/second_base/forced.rb

Instance Method Summary collapse

Instance Method Details

#connected?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/second_base/forced.rb', line 12

def connected?
  SecondBase::Base.connected?
end

#connection_poolObject



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_connectionObject



8
9
10
# File 'lib/second_base/forced.rb', line 8

def retrieve_connection
  SecondBase::Base.retrieve_connection
end