Module: Brant
- Defined in:
- lib/brant.rb,
lib/brant/migration.rb,
lib/brant/migration_file.rb
Defined Under Namespace
Classes: Migration, MigrationFile
Class Method Summary collapse
-
.migrationsConfigPath ⇒ Object
Relative path of the hidden file that contains the current migration.
-
.migrationsPath ⇒ Object
Relative path of the dir that contains the migration files.
-
.rootPath ⇒ Object
Relative path of the root dir for packages.
Class Method Details
.migrationsConfigPath ⇒ Object
Relative path of the hidden file that contains the current migration
24 25 26 |
# File 'lib/brant.rb', line 24 def self.migrationsConfigPath File.join(rootPath,'.migrations') end |
.migrationsPath ⇒ Object
Relative path of the dir that contains the migration files
18 19 20 |
# File 'lib/brant.rb', line 18 def self.migrationsPath File.join(rootPath,'migrate') end |
.rootPath ⇒ Object
Relative path of the root dir for packages
12 13 14 |
# File 'lib/brant.rb', line 12 def self.rootPath 'pkg' end |