Exception: SafeMigrations::UnsafeMigration
- Inherits:
-
StandardError
- Object
- StandardError
- SafeMigrations::UnsafeMigration
- Defined in:
- lib/safe_migrations/errors.rb
Direct Known Subclasses
Constant Summary collapse
- GENERIC_BANNER =
File.read(File.join(File.dirname(__FILE__), "..", "..", "banner.txt"))
Instance Method Summary collapse
-
#initialize(message = "") ⇒ UnsafeMigration
constructor
A new instance of UnsafeMigration.
Constructor Details
#initialize(message = "") ⇒ UnsafeMigration
Returns a new instance of UnsafeMigration.
5 6 7 |
# File 'lib/safe_migrations/errors.rb', line 5 def initialize( = "") super(GENERIC_BANNER + "\n#{}\n") end |