Class: TLDR::WIPTest
- Inherits:
-
Struct
- Object
- Struct
- TLDR::WIPTest
- Defined in:
- lib/tldr/value/wip_test.rb
Instance Attribute Summary collapse
-
#backtrace_at_exit ⇒ Object
readonly
Returns the value of attribute backtrace_at_exit.
-
#start_time ⇒ Object
Returns the value of attribute start_time.
-
#test ⇒ Object
Returns the value of attribute test.
-
#thread ⇒ Object
Returns the value of attribute thread.
Instance Method Summary collapse
Instance Attribute Details
#backtrace_at_exit ⇒ Object (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_time ⇒ Object
Returns the value of attribute start_time
2 3 4 |
# File 'lib/tldr/value/wip_test.rb', line 2 def start_time @start_time end |
#test ⇒ Object
Returns the value of attribute test
2 3 4 |
# File 'lib/tldr/value/wip_test.rb', line 2 def test @test end |
#thread ⇒ Object
Returns the value of attribute thread
2 3 4 |
# File 'lib/tldr/value/wip_test.rb', line 2 def thread @thread end |
Instance Method Details
#capture_backtrace_at_exit ⇒ Object
5 6 7 |
# File 'lib/tldr/value/wip_test.rb', line 5 def capture_backtrace_at_exit @backtrace_at_exit = thread&.backtrace end |