Module: Cucumber::LoadPath

Defined in:
lib/cucumber/load_path.rb

Class Method Summary collapse

Class Method Details

.add_dirs(*dirs) ⇒ Object



3
4
5
6
7
# File 'lib/cucumber/load_path.rb', line 3

def add_dirs(*dirs)
  dirs.each do |dir|
    $LOAD_PATH.unshift(dir) unless $LOAD_PATH.include?(dir)
  end
end