Class: Hanami::Commands::DB::Console
- Defined in:
- lib/hanami/commands/db/console.rb
Instance Method Summary collapse
-
#initialize(options, name) ⇒ Console
constructor
A new instance of Console.
- #start ⇒ Object
Methods inherited from Command
Constructor Details
#initialize(options, name) ⇒ Console
Returns a new instance of Console.
10 11 12 13 |
# File 'lib/hanami/commands/db/console.rb', line 10 def initialize(, name) super() @name = name end |
Instance Method Details
#start ⇒ Object
15 16 17 |
# File 'lib/hanami/commands/db/console.rb', line 15 def start exec console.connection_string end |