lib/initialization_runner.rb
# Run a pre-defined or supplied block of code unless it's being skipped
Run a pre-defined or supplied block of code unless it's being skipped
Run a pre - defined or supplied block of code unless it ' s being skipped
def run_part(part)
  return if ARGV.include?("--skip-#{part}")
  parts[part]&.call
  yield if block_given?
end
def run_part ( part ) return if ARGV . include? ( "--skip-#{part}" ) parts [ part ] &. call yield if block_given? end
Run a pre-defined or supplied block of code unless it's being skipped
Run a pre - defined or supplied block of code unless it ' s being skipped
part