Class: Hanami::Model::Sql::Console Private
- Inherits:
-
Object
- Object
- Hanami::Model::Sql::Console
- 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
Instance Method Summary collapse
-
#initialize(uri) ⇒ Console
constructor
private
A new instance of Console.
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.
21 22 23 |
# File 'lib/hanami/model/sql/console.rb', line 21 def initialize(uri) @uri = URI.parse(uri) end |