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

Class Method Details

.migrationsConfigPathObject

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

.migrationsPathObject

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

.rootPathObject

Relative path of the root dir for packages



12
13
14
# File 'lib/brant.rb', line 12

def self.rootPath
  'pkg'  
end