Class: Hanami::Model::Sql::Console Private

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/hanami/model/sql/console.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.

SQL console

Since:

  • 0.7.0

Instance Method Summary collapse

Constructor Details

#initialize(uri) ⇒ Console

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 Console.

Since:

  • 0.7.0



21
22
23
# File 'lib/hanami/model/sql/console.rb', line 21

def initialize(uri)
  @uri = URI.parse(uri)
end