Exception: Sequel::IllegalMigrationNameError
- Inherits:
-
StandardError
- Object
- StandardError
- Sequel::IllegalMigrationNameError
- Defined in:
- lib/generators/sequel/migration/migration_generator.rb,
lib/generators/sequel/session_migration/session_migration_generator.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ IllegalMigrationNameError
constructor
A new instance of IllegalMigrationNameError.
Constructor Details
#initialize(name) ⇒ IllegalMigrationNameError
Returns a new instance of IllegalMigrationNameError.
5 6 7 |
# File 'lib/generators/sequel/migration/migration_generator.rb', line 5 def initialize(name) super("Illegal name for migration file: #{name} (only lower case letters, numbers, and '_' allowed)") end |