summaryrefslogtreecommitdiff
path: root/spec/ruby/fixtures/code
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/fixtures/code')
-rw-r--r--spec/ruby/fixtures/code/load_wrap_fixture.rb (renamed from spec/ruby/fixtures/code/wrap_fixture.rb)3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/ruby/fixtures/code/wrap_fixture.rb b/spec/ruby/fixtures/code/load_wrap_fixture.rb
index 7ddf5a62e0..526bbf8c82 100644
--- a/spec/ruby/fixtures/code/wrap_fixture.rb
+++ b/spec/ruby/fixtures/code/load_wrap_fixture.rb
@@ -2,7 +2,10 @@ class LoadSpecWrap
ScratchPad << String
end
+LOAD_WRAP_SPECS_TOP_LEVEL_CONSTANT = 1
+
def load_wrap_specs_top_level_method
+ :load_wrap_specs_top_level_method
end
ScratchPad << method(:load_wrap_specs_top_level_method).owner