Class: Hanami::CLI::Commands::Db::Rollback Private
- Defined in:
- lib/hanami/cli/commands/db/rollback.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.
Instance Method Summary collapse
- #call(steps:) ⇒ Object private
Methods inherited from Command
Constructor Details
This class inherits a constructor from Hanami::CLI::Commands::Command
Instance Method Details
#call(steps:) ⇒ Object
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.
23 24 25 26 27 28 |
# File 'lib/hanami/cli/commands/db/rollback.rb', line 23 def call(steps:, **) context = Context.new(steps: steps) context = assert_valid_steps!(context) rollback_database(context) end |