Exception: Nochmal::MigrationData::Incomplete

Inherits:
StandardError
  • Object
show all
Defined in:
lib/nochmal/migration_data/incomplete.rb

Overview

A migration may not be complete…

Instance Method Summary collapse

Constructor Details

#initialize(*_args) ⇒ Incomplete

Returns a new instance of Incomplete.



7
8
9
10
11
12
13
14
15
# File 'lib/nochmal/migration_data/incomplete.rb', line 7

def initialize(*_args)
  super <<~MESSAGE
    This did not end well...

      #{Meta.all.map(&:to_s).join("\n  ")}

    Care to clean up the mess?
  MESSAGE
end