Root path to MiGA (as estimated from the location of the current file).
# File lib/miga/common/path.rb, line 4 def root_path File.expand_path('../../../..', __FILE__) end
Path to a script to be executed for
task
. Supported opts
are:
# File lib/miga/common/path.rb, line 12 def script_path(task, opts = {}) opts[:miga] ||= root_path File.expand_path("scripts/#{task}.bash", opts[:miga]) end