You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

load_path.rb 273 B

2 years ago
123456789101112131415
  1. # frozen_string_literal: true
  2. module Cucumber
  3. module LoadPath
  4. def add_dirs(*dirs)
  5. dirs.each do |dir|
  6. $LOAD_PATH.unshift(dir) unless $LOAD_PATH.include?(dir)
  7. end
  8. end
  9. module_function :add_dirs
  10. end
  11. end
  12. Cucumber::LoadPath.add_dirs('lib')

No Description

Contributors (1)