module Makitzo::FileSystem
classes including this module must define a root method that returns the path of the makitzo control directory (e.g. /home/foo/makitzo)
Constants
- HISTORY_DIR
- INSTALL_FILE
Public Class Methods
install_file(root)
click to toggle source
# File lib/makitzo/file_system.rb, line 8 def self.install_file(root) File.join(root, INSTALL_FILE) end
migration_history_dir(root)
click to toggle source
# File lib/makitzo/file_system.rb, line 12 def self.migration_history_dir(root) File.join(root, HISTORY_DIR) end
Public Instance Methods
install_file()
click to toggle source
# File lib/makitzo/file_system.rb, line 16 def install_file ::Makitzo::FileSystem.install_file(root) end
migration_history_dir()
click to toggle source
# File lib/makitzo/file_system.rb, line 20 def migration_history_dir ::Makitzo::FileSystem.migration_history_dir(root) end