diff options
Diffstat (limited to 'spec/ruby/fixtures/code/load_wrap_fixture.rb')
-rw-r--r-- | spec/ruby/fixtures/code/load_wrap_fixture.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/spec/ruby/fixtures/code/load_wrap_fixture.rb b/spec/ruby/fixtures/code/load_wrap_fixture.rb new file mode 100644 index 0000000000..526bbf8c82 --- /dev/null +++ b/spec/ruby/fixtures/code/load_wrap_fixture.rb @@ -0,0 +1,12 @@ +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 + +ScratchPad << self |