module TestBench::Fixture::Controls::CallerLocation::Alternate

Public Class Methods

example(line_number: nil) click to toggle source
# File lib/test_bench/fixture/controls/caller_location.rb, line 26
def self.example(line_number: nil)
  line_number ||= self.line_number

  CallerLocation.example(file: file, line_number: line_number)
end
file() click to toggle source
# File lib/test_bench/fixture/controls/caller_location.rb, line 32
def self.file
  'lib/other_dir/other_file.rb'
end
line_number() click to toggle source
# File lib/test_bench/fixture/controls/caller_location.rb, line 36
def self.line_number
  111
end