Class: Hanami::Model::Sql::Consoles::Abstract Private

Inherits:
Object
  • Object
show all
Defined in:
lib/hanami/model/sql/consoles/abstract.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Abstract adapter

Since:

  • 0.7.0

Direct Known Subclasses

Mysql, Postgresql, Sqlite

Instance Method Summary collapse

Constructor Details

#initialize(uri) ⇒ Abstract

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Abstract.

Since:

  • 0.7.0



14
15
16
# File 'lib/hanami/model/sql/consoles/abstract.rb', line 14

def initialize(uri)
  @uri = uri
end