Method: TLDR::Test#initialize

Defined in:
lib/tldr/value/test.rb

#initialize(*args) ⇒ Test

Returns a new instance of Test.



5
6
7
8
9
# File 'lib/tldr/value/test.rb', line 5

def initialize(*args)
  super
  @file, @line = SorbetCompatibility.unwrap_method(test_class.instance_method(method_name)).source_location
  @location = Location.new(file, line)
end