class

Granite::Connections

Inherits Reference < Object

Class methods

<<(adapter : Granite::Adapter::Base) : Nil

Registers the given adapter. Raises if an adapter with the same name has already been registered.

Source
[](name : String) : Granite::Adapter::Base | Nil

Returns a registered connection with the given name, otherwise nil.

Source
registered_connections
Source