Method: Simple::SQL#disconnect!

Defined in:
lib/simple/sql.rb

#disconnect!Object

disconnects the current default connection.



84
85
86
87
# File 'lib/simple/sql.rb', line 84

def disconnect!
  ::Simple::SQL::ConnectionManager.disconnect_all!
  @default_connection = nil
end