Sha256: 5068382e45451e6dbac8e611e33f197804276efa7162db6ef7a0b9dc9ccd97e9

Contents?: true

Size: 366 Bytes

Versions: 8

Compression:

Stored size: 366 Bytes

Contents

# In parentdir mode, Pathological will not add the individual specified paths to $LOAD_PATH, but will instead
# add the unique parents of the specified paths. This is to enable compatibility with legacy code where
# require paths are all written relative to a common repository root.

require "pathological/base"

Pathological.parentdir_mode
Pathological.add_paths!

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
pathological-v2-0.3.1 lib/pathological/parentdir.rb
pathological-0.3.0 lib/pathological/parentdir.rb
pathological-0.2.6 lib/pathological/parentdir.rb
pathological-0.2.5 lib/pathological/parentdir.rb
pathological-0.2.4 lib/pathological/parentdir.rb
pathological-0.2.3 lib/pathological/parentdir.rb
pathological-0.2.2 lib/pathological/parentdir.rb
pathological-0.2.1 lib/pathological/parentdir.rb