Sha256: 1af6597161bb59c00245e7f808aceedbf1f18eb1118361a6c9fbbc4cace92e9c

Contents?: true

Size: 242 Bytes

Versions: 48

Compression:

Stored size: 242 Bytes

Contents

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

    module_function :add_dirs
  end
end

Cucumber::LoadPath.add_dirs('lib')

Version data entries

48 entries across 46 versions & 3 rubygems

Version Path
cucumber-2.99.0 lib/cucumber/load_path.rb
mobiusloop-0.1.5 lib/cucumber/load_path.rb
cucumber-2.4.0 lib/cucumber/load_path.rb
mobiusloop-0.1.3 lib/cucumber/load_path.rb
mobiusloop-0.1.2 lib/cucumber/load_path.rb
cucumber-2.3.3 lib/cucumber/load_path.rb
honeybadger-2.4.0 vendor/gems/ruby/2.2.0/gems/cucumber-1.3.18/lib/cucumber/load_path.rb
honeybadger-2.4.0 vendor/gems/ruby/1.9.1/gems/cucumber-1.3.18/lib/cucumber/load_path.rb
honeybadger-2.4.0 vendor/gems/ruby/2.1.0/gems/cucumber-1.3.16/lib/cucumber/load_path.rb
cucumber-2.3.2 lib/cucumber/load_path.rb
cucumber-2.3.1 lib/cucumber/load_path.rb
cucumber-2.3.0 lib/cucumber/load_path.rb
cucumber-2.2.0 lib/cucumber/load_path.rb
cucumber-2.1.0 lib/cucumber/load_path.rb
cucumber-2.0.2 lib/cucumber/load_path.rb
cucumber-2.0.1 lib/cucumber/load_path.rb
cucumber-1.3.20 lib/cucumber/load_path.rb
cucumber-2.0.0 lib/cucumber/load_path.rb
cucumber-2.0.0.rc.5 lib/cucumber/load_path.rb
cucumber-1.3.19 lib/cucumber/load_path.rb