Flowdock
method

add_dir_from_project_root_to_load_path

Importance_0
1.3.0 - Show latest stable - 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 116
      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.