diff options
Diffstat (limited to 'spec/ruby/core/thread/backtrace/location/fixtures/main.rb')
-rw-r--r-- | spec/ruby/core/thread/backtrace/location/fixtures/main.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/ruby/core/thread/backtrace/location/fixtures/main.rb b/spec/ruby/core/thread/backtrace/location/fixtures/main.rb new file mode 100644 index 0000000000..d2d14ac957 --- /dev/null +++ b/spec/ruby/core/thread/backtrace/location/fixtures/main.rb @@ -0,0 +1,5 @@ +def example + caller_locations[0].path +end + +print example |