summaryrefslogtreecommitdiff
path: root/spec/ruby/fixtures/code/wrap_fixture.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/fixtures/code/wrap_fixture.rb')
-rw-r--r--spec/ruby/fixtures/code/wrap_fixture.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/ruby/fixtures/code/wrap_fixture.rb b/spec/ruby/fixtures/code/wrap_fixture.rb
new file mode 100644
index 0000000000..7ddf5a62e0
--- /dev/null
+++ b/spec/ruby/fixtures/code/wrap_fixture.rb
@@ -0,0 +1,9 @@
+class LoadSpecWrap
+ ScratchPad << String
+end
+
+def load_wrap_specs_top_level_method
+end
+ScratchPad << method(:load_wrap_specs_top_level_method).owner
+
+ScratchPad << self