Module: Cucumber::LoadPath

Defined in:
lib/cucumber/load_path.rb

Class Method Summary collapse

Class Method Details

.add_dirs(*dirs) ⇒ Object



5
6
7
8
9
# File 'lib/cucumber/load_path.rb', line 5

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