Class: RSpec::Core::Example

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/quarantine/rspec_adapter.rb

Instance Method Summary collapse

Instance Method Details

#clear_exception!Object



12
13
14
15
# File 'lib/quarantine/rspec_adapter.rb', line 12

def clear_exception!
  @exception = T.let(nil, T.untyped)
  T.unsafe(self).example.clear_exception! if defined?(example)
end