method

add_dir_from_project_root_to_load_path

Importance_0
RSpec latest stable (1.3.1) - 0 notes - Class: Spec::Runner::Options
add_dir_from_project_root_to_load_path(dir, load_path=$LOAD_PATH) public

No documentation

This method has no description. You can help the RSpec community by adding new notes.

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
Register or log in to add new notes.