Class: Openbox::Commands::Console
- Inherits:
-
Openbox::Command
- Object
- Thor::Group
- Openbox::Command
- Openbox::Commands::Console
- Defined in:
- lib/openbox/commands/console.rb
Overview
The Console Command
Instance Method Summary collapse
-
#execute ⇒ Object
Run rails console.
Methods inherited from Openbox::Command
Instance Method Details
#execute ⇒ Object
Run rails console
13 14 15 16 |
# File 'lib/openbox/commands/console.rb', line 13 def execute Openbox.database.ensure_connection! exec('bundle exec rails console') end |