Class: FluentMigratorCommandRunner::Runner

Inherits:
Object
  • Object
show all
Defined in:
lib/fluent-migrator-command-runner/runner.rb

Class Method Summary collapse

Class Method Details

.execute(command) ⇒ Object



4
5
6
7
# File 'lib/fluent-migrator-command-runner/runner.rb', line 4

def self.execute(command)
  Kernel.system(command)
  raise 'Fluent Migrator Failed' unless fluent_migrator_run_succeeded?
end