method
add_dir_from_project_root_to_load_path
add_dir_from_project_root_to_load_path(dir, load_path=$LOAD_PATH)
public
Hide source
# File lib/spec/runner/options.rb, line 117 def add_dir_from_project_root_to_load_path(dir, load_path=$LOAD_PATH) # :nodoc: return if project_root.nil? full_dir = File.join(project_root, dir) load_path.unshift full_dir unless load_path.include?(full_dir) end