summaryrefslogtreecommitdiff
path: root/spec/ruby/core/module/fixtures/path1/load_path.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/module/fixtures/path1/load_path.rb')
-rw-r--r--spec/ruby/core/module/fixtures/path1/load_path.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/ruby/core/module/fixtures/path1/load_path.rb b/spec/ruby/core/module/fixtures/path1/load_path.rb
new file mode 100644
index 0000000000..d4c45463dc
--- /dev/null
+++ b/spec/ruby/core/module/fixtures/path1/load_path.rb
@@ -0,0 +1,9 @@
+$LOAD_PATH.unshift(File.expand_path('../../path2', __FILE__))
+
+module ModuleSpecs::Autoload
+ module LoadPath
+ def self.loaded
+ :autoload_load_path
+ end
+ end
+end