Class: TLDR::WIPTest

Inherits:
Struct
  • Object
show all
Defined in:
lib/tldr/value/wip_test.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#backtrace_at_exitObject (readonly)

Returns the value of attribute backtrace_at_exit.



3
4
5
# File 'lib/tldr/value/wip_test.rb', line 3

def backtrace_at_exit
  @backtrace_at_exit
end

#start_timeObject

Returns the value of attribute start_time

Returns:

  • (Object)

    the current value of start_time



2
3
4
# File 'lib/tldr/value/wip_test.rb', line 2

def start_time
  @start_time
end

#testObject

Returns the value of attribute test

Returns:

  • (Object)

    the current value of test



2
3
4
# File 'lib/tldr/value/wip_test.rb', line 2

def test
  @test
end

#threadObject

Returns the value of attribute thread

Returns:

  • (Object)

    the current value of thread



2
3
4
# File 'lib/tldr/value/wip_test.rb', line 2

def thread
  @thread
end

Instance Method Details

#capture_backtrace_at_exitObject



5
6
7
# File 'lib/tldr/value/wip_test.rb', line 5

def capture_backtrace_at_exit
  @backtrace_at_exit = thread&.backtrace
end